diff options
author | Mike Brady <mikebrady@eircom.net> | 2018-07-29 13:45:42 +0100 |
---|---|---|
committer | Mike Brady <mikebrady@eircom.net> | 2018-07-29 13:45:42 +0100 |
commit | ea20840d6c4f493f3d8c1c93a0eaa9ca671123ec (patch) | |
tree | f23567d0a7ae2212b3fa6d613c2c7edbf4c68649 /audio_dummy.c | |
parent | c91a991edda4a6ea17c5333b6312c637e72b558c (diff) |
Make the play function return a status (ignored for the present). Clean up audio_alsa by removing all the die calls and placing the alsa_mutex calls in pthread cleanup routines.
Diffstat (limited to 'audio_dummy.c')
-rw-r--r-- | audio_dummy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio_dummy.c b/audio_dummy.c index 5f55bab..e29d389 100644 --- a/audio_dummy.c +++ b/audio_dummy.c @@ -48,7 +48,7 @@ static void start(int sample_rate, __attribute__((unused)) int sample_format) { debug(1, "dummy audio output started at Fs=%d Hz\n", sample_rate); } -static void play(__attribute__((unused)) void *buf, __attribute__((unused)) int samples) {} +static int play(__attribute__((unused)) void *buf, __attribute__((unused)) int samples) { return 0; } static void stop(void) { debug(1, "dummy audio stopped\n"); } |