Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1732 from scribam/pulseaudio
Browse files Browse the repository at this point in the history
pulseaudio: Add missing return value to the "push" function
  • Loading branch information
skmp authored Aug 17, 2019
2 parents 85c1515 + a3d39ba commit 9aa8304
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libswirl/oslib/audiobackend_pulseaudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ static u32 pulseaudio_push(void* frame, u32 samples, bool wait)
if (pa_simple_write(pulse_stream, frame, (size_t) samples*4, NULL) < 0) {
fprintf(stderr, "PulseAudio: pa_simple_write() failed!\n");
}
return 0;
}

static void pulseaudio_term() {
Expand Down

0 comments on commit 9aa8304

Please sign in to comment.