mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
bluetooth: move installation of mq's earlier to avoid context asserts to be triggered
This commit is contained in:
parent
de4968cdde
commit
2a39663ab6
1 changed files with 2 additions and 2 deletions
|
|
@ -1262,11 +1262,11 @@ static void thread_func(void *userdata) {
|
||||||
if (u->core->realtime_scheduling)
|
if (u->core->realtime_scheduling)
|
||||||
pa_make_realtime(u->core->realtime_priority);
|
pa_make_realtime(u->core->realtime_priority);
|
||||||
|
|
||||||
|
pa_thread_mq_install(&u->thread_mq);
|
||||||
|
|
||||||
if (start_stream_fd(u) < 0)
|
if (start_stream_fd(u) < 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
pa_thread_mq_install(&u->thread_mq);
|
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
struct pollfd *pollfd;
|
struct pollfd *pollfd;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue