From b27d9e055bb51a4e5eff04c6e9237009d4578c7b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 10 Feb 2009 21:28:25 +0100 Subject: shout: pass void pointer to the encoder Pass the music chunk as a "const void *" to the encoder, instead of a "const char *". Actually, both encoders currently expect 16 bit samples, passing a 8-bit character is rather pointless. --- src/output/shout_plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/output/shout_plugin.h') diff --git a/src/output/shout_plugin.h b/src/output/shout_plugin.h index 11ecf89fd..eb40907d3 100644 --- a/src/output/shout_plugin.h +++ b/src/output/shout_plugin.h @@ -36,7 +36,7 @@ struct shout_encoder_plugin { int (*clear_encoder_func)(struct shout_data *sd); int (*encode_func)(struct shout_data *sd, - const char *chunk, size_t len); + const void *chunk, size_t len); void (*finish_func)(struct shout_data *sd); int (*init_func)(struct shout_data *sd); int (*init_encoder_func) (struct shout_data *sd); -- cgit v1.2.3