From 29e8785fa4f62957f2de8fe525136fdf9aea720c Mon Sep 17 00:00:00 2001 From: Mike Gorse Date: Wed, 22 May 2024 13:58:17 -0500 Subject: [PATCH] Add a couple of missing return statements --- src/audio/pulse.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/audio/pulse.c b/src/audio/pulse.c index 2baaa5ef..12810f67 100644 --- a/src/audio/pulse.c +++ b/src/audio/pulse.c @@ -680,6 +680,8 @@ static int pulse_begin(AudioID * id, AudioTrack track) pulse_id->pa_current_bps = track.bits; pulse_id->pa_current_channels = track.num_channels; } + + return 0; } static int pulse_feed(AudioID * id, AudioTrack track) @@ -749,6 +751,7 @@ static int pulse_end(AudioID * id) { spd_pulse_id_t *pulse_id = (spd_pulse_id_t *) id; spd_pa_simple_drain(pulse_id->pa_simple, 0, NULL); + return 0; } static int pulse_play(AudioID * id, AudioTrack track)