Skip to content

Commit

Permalink
Add a couple of missing return statements
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorse authored and sthibaul committed May 22, 2024
1 parent 1b18048 commit 29e8785
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/audio/pulse.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 29e8785

Please sign in to comment.