mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
bluez5: fix compilation
This commit is contained in:
parent
df591638a5
commit
7e135a5235
1 changed files with 1 additions and 1 deletions
|
|
@ -1978,7 +1978,7 @@ static void hfp_hf_transport_activate(void *data, enum spa_bt_telephony_error *e
|
|||
return;
|
||||
}
|
||||
} else {
|
||||
if (!rfcomm->transport || rfcomm->transport->codec != HFP_AUDIO_CODEC_CVSD) {
|
||||
if (!rfcomm->transport || rfcomm->transport->media_codec->id != SPA_BLUETOOTH_AUDIO_CODEC_CVSD) {
|
||||
*err = BT_TELEPHONY_ERROR_NOT_SUPPORTED;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue