Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Commit 9aa8304

Browse files
authored
Merge pull request #1732 from scribam/pulseaudio
pulseaudio: Add missing return value to the "push" function
2 parents 85c1515 + a3d39ba commit 9aa8304

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libswirl/oslib/audiobackend_pulseaudio.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ static u32 pulseaudio_push(void* frame, u32 samples, bool wait)
2525
if (pa_simple_write(pulse_stream, frame, (size_t) samples*4, NULL) < 0) {
2626
fprintf(stderr, "PulseAudio: pa_simple_write() failed!\n");
2727
}
28+
return 0;
2829
}
2930

3031
static void pulseaudio_term() {

0 commit comments

Comments
 (0)