mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
Do not reconfigure capabilities.
This commit is contained in:
parent
168c741b64
commit
13f1c4413b
1 changed files with 3 additions and 0 deletions
|
|
@ -462,6 +462,9 @@ static int setup_a2dp(struct userdata *u) {
|
|||
}
|
||||
}
|
||||
|
||||
if (cap->capability.configured)
|
||||
return 0;
|
||||
|
||||
if (u->sample_spec.channels <= 1) {
|
||||
if (cap->channel_mode & BT_A2DP_CHANNEL_MODE_MONO) {
|
||||
cap->channel_mode = BT_A2DP_CHANNEL_MODE_MONO;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue