Allow to automatically spawn pulseaudio daemon

This commit is contained in:
Paul Dino Jones 2026-03-03 23:08:00 -05:00
parent 8aadf0c1b0
commit 4caabd24a7
1 changed files with 1 additions and 1 deletions

View File

@ -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(;;) {