diff options
Diffstat (limited to '')
-rw-r--r-- | src/audioOutputs/audioOutput_fifo.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/audioOutputs/audioOutput_fifo.c b/src/audioOutputs/audioOutput_fifo.c index d7b83fd7d..0c279667d 100644 --- a/src/audioOutputs/audioOutput_fifo.c +++ b/src/audioOutputs/audioOutput_fifo.c @@ -234,11 +234,12 @@ static void fifo_dropBufferedAudio(AudioOutput *audioOutput) } } -static int fifo_playAudio(AudioOutput *audioOutput, char *playChunk, int size) +static int fifo_playAudio(AudioOutput *audioOutput, + const char *playChunk, size_t size) { FifoData *fd = (FifoData *)audioOutput->data; - int offset = 0; - int bytes; + size_t offset = 0; + ssize_t bytes; if (!fd->timer->started) timer_start(fd->timer); |