mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-21 08:56:46 -05:00
bluetooth: fix #NOKIA, correctly unlink sink/src
This commit is contained in:
parent
5b523d097c
commit
a7246bd635
1 changed files with 2 additions and 2 deletions
|
|
@ -1718,16 +1718,16 @@ static int card_set_profile(pa_card *c, pa_card_profile *new_profile) {
|
||||||
inputs = pa_sink_move_all_start(u->sink);
|
inputs = pa_sink_move_all_start(u->sink);
|
||||||
#ifdef NOKIA
|
#ifdef NOKIA
|
||||||
if (!USE_SCO_OVER_PCM(u))
|
if (!USE_SCO_OVER_PCM(u))
|
||||||
pa_sink_unlink(u->sink);
|
|
||||||
#endif
|
#endif
|
||||||
|
pa_sink_unlink(u->sink);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (u->source) {
|
if (u->source) {
|
||||||
outputs = pa_source_move_all_start(u->source);
|
outputs = pa_source_move_all_start(u->source);
|
||||||
#ifdef NOKIA
|
#ifdef NOKIA
|
||||||
if (!USE_SCO_OVER_PCM(u))
|
if (!USE_SCO_OVER_PCM(u))
|
||||||
pa_source_unlink(u->source);
|
|
||||||
#endif
|
#endif
|
||||||
|
pa_source_unlink(u->source);
|
||||||
}
|
}
|
||||||
|
|
||||||
stop_thread(u);
|
stop_thread(u);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue