Allow to automatically spawn pulseaudio daemon
This commit is contained in:
parent
8aadf0c1b0
commit
4caabd24a7
|
|
@ -31,7 +31,7 @@ int setupsound()
|
|||
|
||||
// Start the mainloop
|
||||
assert(pa_threaded_mainloop_start(mainloop) == 0);
|
||||
assert(pa_context_connect(context, NULL, PA_CONTEXT_NOAUTOSPAWN, NULL) == 0);
|
||||
assert(pa_context_connect(context, NULL, 0, NULL) == 0);
|
||||
|
||||
// Wait for the context to be ready
|
||||
for(;;) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue