pcm_utils: moved code to pcm_mix.c

Moved the software mixing code (used by crossfading) to a separate
library.
This commit is contained in:
Max Kellermann
2009-01-07 18:06:22 +01:00
parent 9d0579996c
commit 3fd1fa31ca
6 changed files with 151 additions and 93 deletions

View File

@@ -52,9 +52,6 @@ pcm_range(int32_t sample, unsigned bits)
return sample;
}
void pcm_mix(char *buffer1, const char *buffer2, size_t size,
const struct audio_format *format, float portion1);
void pcm_convert_init(struct pcm_convert_state *state);
size_t pcm_convert(const struct audio_format *inFormat,