mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
bluez5: set channel information for hfp/hsp transports
Fixes volume problems.
This commit is contained in:
parent
04a13471fb
commit
302282ef59
3 changed files with 9 additions and 0 deletions
|
|
@ -1117,6 +1117,9 @@ static DBusHandlerResult hsphfpd_parse_endpoint_properties(struct spa_bt_backend
|
|||
else
|
||||
t->codec = HFP_AUDIO_CODEC_CVSD;
|
||||
|
||||
t->n_channels = 1;
|
||||
t->channels[0] = SPA_AUDIO_CHANNEL_MONO;
|
||||
|
||||
t->enabled = true;
|
||||
spa_bt_device_connect_profile(t->device, t->profile);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue