Skip to content

Commit 4caabd2

Browse files
committed
Allow to automatically spawn pulseaudio daemon
1 parent 8aadf0c commit 4caabd2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/monocoque/devices/sound.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ int setupsound()
3131

3232
// Start the mainloop
3333
assert(pa_threaded_mainloop_start(mainloop) == 0);
34-
assert(pa_context_connect(context, NULL, PA_CONTEXT_NOAUTOSPAWN, NULL) == 0);
34+
assert(pa_context_connect(context, NULL, 0, NULL) == 0);
3535

3636
// Wait for the context to be ready
3737
for(;;) {

0 commit comments

Comments
 (0)