pcm: pass void pointers to PCM functions

In generic PCM functions allowing all sample formats, pass a void
pointer instead of a char pointer.
This commit is contained in:
Max Kellermann
2009-01-07 19:00:02 +01:00
parent bb01016400
commit 04a2138b33
6 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ pcm_volume_change_24(int32_t *buffer, unsigned num_samples, int volume)
}
void
pcm_volume(char *buffer, int bufferSize,
pcm_volume(void *buffer, int bufferSize,
const struct audio_format *format,
int volume)
{