Allow to automatically spawn pulseaudio daemon
This commit is contained in:
@@ -31,7 +31,7 @@ int setupsound()
|
|||||||
|
|
||||||
// Start the mainloop
|
// Start the mainloop
|
||||||
assert(pa_threaded_mainloop_start(mainloop) == 0);
|
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
|
// Wait for the context to be ready
|
||||||
for(;;) {
|
for(;;) {
|
||||||
|
|||||||
Reference in New Issue
Block a user