bluez5: set channel information for hfp/hsp transports

Fixes volume problems.
This commit is contained in:
Pauli Virtanen 2021-03-02 22:15:21 +02:00
parent 04a13471fb
commit 302282ef59
3 changed files with 9 additions and 0 deletions

View file

@ -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);