aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_convert.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-07 19:00:02 +0100
committerMax Kellermann <max@duempel.org>2009-01-07 19:00:02 +0100
commit04a2138b3329e189c87c6bedb39b8a975da53565 (patch)
treed262ddc9d5a77112b949ec52899f14d43d262de9 /src/pcm_convert.h
parentbb01016400e0f36ac1ae8781314682db5fe207ca (diff)
downloadmpd-04a2138b3329e189c87c6bedb39b8a975da53565.tar.gz
mpd-04a2138b3329e189c87c6bedb39b8a975da53565.tar.xz
mpd-04a2138b3329e189c87c6bedb39b8a975da53565.zip
pcm: pass void pointers to PCM functions
In generic PCM functions allowing all sample formats, pass a void pointer instead of a char pointer.
Diffstat (limited to 'src/pcm_convert.h')
-rw-r--r--src/pcm_convert.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcm_convert.h b/src/pcm_convert.h
index ac771a5c1..ad54290b8 100644
--- a/src/pcm_convert.h
+++ b/src/pcm_convert.h
@@ -33,9 +33,9 @@ struct pcm_convert_state {
void pcm_convert_init(struct pcm_convert_state *state);
size_t pcm_convert(const struct audio_format *inFormat,
- const char *inBuffer, size_t inSize,
+ const void *src, size_t src_size,
const struct audio_format *outFormat,
- char *outBuffer,
+ void *dest,
struct pcm_convert_state *convState);
size_t pcm_convert_size(const struct audio_format *inFormat, size_t inSize,