mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
spa: bluez: add missing else
This commit is contained in:
parent
57ff7abc68
commit
73690d6662
1 changed files with 1 additions and 1 deletions
|
|
@ -444,7 +444,7 @@ static bool rfcomm_hsp_hs(struct spa_source *source, char* buf)
|
||||||
} else {
|
} else {
|
||||||
spa_log_debug(backend->log, "RFCOMM receive unsupported VGM gain: %s", buf);
|
spa_log_debug(backend->log, "RFCOMM receive unsupported VGM gain: %s", buf);
|
||||||
}
|
}
|
||||||
} if (spa_strstartswith(buf, "\r\nOK\r\n")) {
|
} else if (spa_strstartswith(buf, "\r\nOK\r\n")) {
|
||||||
if (rfcomm->hs_state == hsp_hs_init2) {
|
if (rfcomm->hs_state == hsp_hs_init2) {
|
||||||
if (rfcomm_send_volume_cmd(&rfcomm->source, SPA_BT_VOLUME_ID_RX))
|
if (rfcomm_send_volume_cmd(&rfcomm->source, SPA_BT_VOLUME_ID_RX))
|
||||||
rfcomm->hs_state = hsp_hs_vgs;
|
rfcomm->hs_state = hsp_hs_vgs;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue