aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_mvp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/audioOutputs/audioOutput_mvp.c')
-rw-r--r--src/audioOutputs/audioOutput_mvp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/audioOutputs/audioOutput_mvp.c b/src/audioOutputs/audioOutput_mvp.c
index c633bb96b..2b8ba6a00 100644
--- a/src/audioOutputs/audioOutput_mvp.c
+++ b/src/audioOutputs/audioOutput_mvp.c
@@ -231,10 +231,11 @@ static void mvp_dropBufferedAudio(AudioOutput * audioOutput)
}
}
-static int mvp_playAudio(AudioOutput * audioOutput, char *playChunk, int size)
+static int mvp_playAudio(AudioOutput * audioOutput,
+ const char *playChunk, size_t size)
{
MvpData *md = audioOutput->data;
- int ret;
+ ssize_t ret;
/* reopen the device since it was closed by dropBufferedAudio */
if (md->fd < 0)