diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/riff.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -257,10 +257,10 @@ error_io: return; } -static int audio_drain(xas_riff *riff, - void *samples, - size_t count, - xas_audio_stream *stream) { +static ssize_t audio_drain(xas_riff *riff, + void *samples, + size_t count, + xas_audio_stream *stream) { size_t len = count * stream->sample_size * stream->channels; |