mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-19 16:01:45 +00:00
spa: bluez: add missing else
This commit is contained in:
parent
57ff7abc68
commit
73690d6662
|
@ -444,7 +444,7 @@ static bool rfcomm_hsp_hs(struct spa_source *source, char* buf)
|
|||
} else {
|
||||
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_send_volume_cmd(&rfcomm->source, SPA_BT_VOLUME_ID_RX))
|
||||
rfcomm->hs_state = hsp_hs_vgs;
|
||||
|
|
Loading…
Reference in a new issue