From 04a2138b3329e189c87c6bedb39b8a975da53565 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 7 Jan 2009 19:00:02 +0100 Subject: pcm: pass void pointers to PCM functions In generic PCM functions allowing all sample formats, pass a void pointer instead of a char pointer. --- src/pcm_mix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pcm_mix.h') diff --git a/src/pcm_mix.h b/src/pcm_mix.h index cce35dedf..f3fe3c365 100644 --- a/src/pcm_mix.h +++ b/src/pcm_mix.h @@ -24,7 +24,7 @@ struct audio_format; void -pcm_mix(char *buffer1, const char *buffer2, size_t size, +pcm_mix(void *buffer1, const void *buffer2, size_t size, const struct audio_format *format, float portion1); #endif -- cgit v1.2.3