aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_mix.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pcm_mix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcm_mix.c b/src/pcm_mix.c
index 0ca5a9a7f..3084051ab 100644
--- a/src/pcm_mix.c
+++ b/src/pcm_mix.c
@@ -80,7 +80,7 @@ pcm_add_24(int32_t *buffer1, const int32_t *buffer2,
}
static void
-pcm_add(char *buffer1, const char *buffer2, size_t size,
+pcm_add(void *buffer1, const void *buffer2, size_t size,
int vol1, int vol2,
const struct audio_format *format)
{
@@ -107,7 +107,7 @@ pcm_add(char *buffer1, const char *buffer2, size_t size,
}
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)
{
int vol1;