diff options
Diffstat (limited to 'src/output/pulse_plugin.c')
-rw-r--r-- | src/output/pulse_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/pulse_plugin.c b/src/output/pulse_plugin.c index 0203310e7..b969f3500 100644 --- a/src/output/pulse_plugin.c +++ b/src/output/pulse_plugin.c @@ -161,12 +161,12 @@ static void pulse_close(void *data) } static size_t -pulse_play(void *data, const char *playChunk, size_t size) +pulse_play(void *data, const void *chunk, size_t size) { struct pulse_data *pd = data; int error; - if (pa_simple_write(pd->s, playChunk, size, &error) < 0) { + if (pa_simple_write(pd->s, chunk, size, &error) < 0) { g_warning("PulseAudio output \"%s\" disconnecting due to " "write error: %s\n", audio_output_get_name(pd->ao), |