aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_volume.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_volume.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_volume.h')
-rw-r--r--src/pcm_volume.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_volume.h b/src/pcm_volume.h
index 4c1b45352..7b5323ed7 100644
--- a/src/pcm_volume.h
+++ b/src/pcm_volume.h
@@ -52,7 +52,7 @@ pcm_volume_dither(void)
}
void
-pcm_volume(char *buffer, int bufferSize,
+pcm_volume(void *buffer, int bufferSize,
const struct audio_format *format,
int volume);