aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/mvp_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/mvp_plugin.c')
-rw-r--r--src/output/mvp_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/mvp_plugin.c b/src/output/mvp_plugin.c
index 840661ea7..5bc329785 100644
--- a/src/output/mvp_plugin.c
+++ b/src/output/mvp_plugin.c
@@ -249,7 +249,7 @@ static void mvp_dropBufferedAudio(void *data)
}
static size_t
-mvp_playAudio(void *data, const char *playChunk, size_t size)
+mvp_playAudio(void *data, const void *chunk, size_t size)
{
MvpData *md = data;
ssize_t ret;
@@ -259,7 +259,7 @@ mvp_playAudio(void *data, const char *playChunk, size_t size)
mvp_openDevice(md, &md->audio_format);
while (true) {
- ret = write(md->fd, playChunk, size);
+ ret = write(md->fd, chunk, size);
if (ret > 0)
return (size_t)ret;