diff options
author | Max Kellermann <max@duempel.org> | 2009-02-23 09:34:26 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-23 09:34:26 +0100 |
commit | a4dfab2aee0650970af4244c8f4b6c4d738d6c0c (patch) | |
tree | 6b0200009da13f5a3d7041f1a0b2e477b8e762da /src/output/shout_plugin.c | |
parent | 5a898c15e79ab87d2466e61549fcc20ce115c67e (diff) | |
download | mpd-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/shout_plugin.c')
-rw-r--r-- | src/output/shout_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/shout_plugin.c b/src/output/shout_plugin.c index 2563e8092..425c693f7 100644 --- a/src/output/shout_plugin.c +++ b/src/output/shout_plugin.c @@ -414,7 +414,7 @@ my_shout_open_device(void *data, struct audio_format *audio_format) } static size_t -my_shout_play(void *data, const char *chunk, size_t size) +my_shout_play(void *data, const void *chunk, size_t size) { struct shout_data *sd = (struct shout_data *)data; bool ret; |