aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_control.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-23 09:34:26 +0100
committerMax Kellermann <max@duempel.org>2009-02-23 09:34:26 +0100
commita4dfab2aee0650970af4244c8f4b6c4d738d6c0c (patch)
tree6b0200009da13f5a3d7041f1a0b2e477b8e762da /src/output_control.c
parent5a898c15e79ab87d2466e61549fcc20ce115c67e (diff)
downloadmpd-a4dfab2aee0650970af4244c8f4b6c4d738d6c0c.tar.gz
mpd-a4dfab2aee0650970af4244c8f4b6c4d738d6c0c.tar.xz
mpd-a4dfab2aee0650970af4244c8f4b6c4d738d6c0c.zip
output: pass the music chunk pointer as void*, not char*
The meaning of the chunk depends on the audio format; don't suggest a specific format by declaring the pointer as "char*", pass "void*" instead.
Diffstat (limited to 'src/output_control.c')
-rw-r--r--src/output_control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output_control.c b/src/output_control.c
index 16908f1b4..5516af607 100644
--- a/src/output_control.c
+++ b/src/output_control.c
@@ -103,7 +103,7 @@ audio_output_signal(struct audio_output *ao)
}
void
-audio_output_play(struct audio_output *ao, const char *chunk, size_t size)
+audio_output_play(struct audio_output *ao, const void *chunk, size_t size)
{
assert(size > 0);