aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/oss_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/oss_plugin.c')
-rw-r--r--src/output/oss_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/oss_plugin.c b/src/output/oss_plugin.c
index eca6f9101..6c3928629 100644
--- a/src/output/oss_plugin.c
+++ b/src/output/oss_plugin.c
@@ -554,7 +554,7 @@ static void oss_dropBufferedAudio(void *data)
}
static size_t
-oss_playAudio(void *data, const char *playChunk, size_t size)
+oss_playAudio(void *data, const void *chunk, size_t size)
{
OssData *od = data;
ssize_t ret;
@@ -564,7 +564,7 @@ oss_playAudio(void *data, const char *playChunk, size_t size)
return false;
while (true) {
- ret = write(od->fd, playChunk, size);
+ ret = write(od->fd, chunk, size);
if (ret > 0)
return (size_t)ret;