aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/jack_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/jack_plugin.c')
-rw-r--r--src/output/jack_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/jack_plugin.c b/src/output/jack_plugin.c
index 22841f8ef..883695f5f 100644
--- a/src/output/jack_plugin.c
+++ b/src/output/jack_plugin.c
@@ -388,7 +388,7 @@ mpd_jack_write_samples(struct jack_data *jd, const void *src,
}
static size_t
-mpd_jack_play(void *data, const char *buff, size_t size)
+mpd_jack_play(void *data, const void *chunk, size_t size)
{
struct jack_data *jd = data;
const size_t frame_size = audio_format_frame_size(&jd->audio_format);
@@ -421,7 +421,7 @@ mpd_jack_play(void *data, const char *buff, size_t size)
if (space < size)
size = space;
- mpd_jack_write_samples(jd, buff, size);
+ mpd_jack_write_samples(jd, chunk, size);
return size * frame_size;
}