Urgh...actually change all the stuff I'm supposed to.

Goofed a couple fn params.

Change-Id: I2474d10fe08d2629ada54c83e201ee91c596d854
This commit is contained in:
Michael Sevakis 2012-02-05 22:48:47 -05:00
parent 691c7a7614
commit 43e6d7aef8

View file

@ -27,7 +27,7 @@
#include "dsp-util.h" /* for clip_sample_16 */ #include "dsp-util.h" /* for clip_sample_16 */
/* Mix channels' samples and apply gain factors */ /* Mix channels' samples and apply gain factors */
static FORCE_INLINE void mix_samples(uint16_t *out, static FORCE_INLINE void mix_samples(int16_t *out,
int16_t *src0, int16_t *src0,
int32_t src0_amp, int32_t src0_amp,
int16_t *src1, int16_t *src1,
@ -83,7 +83,7 @@ static FORCE_INLINE void mix_samples(uint16_t *out,
} }
/* Write channel's samples and apply gain factor */ /* Write channel's samples and apply gain factor */
static FORCE_INLINE void write_samples(uint32_t *out, static FORCE_INLINE void write_samples(int16_t *out,
int16_t *src, int16_t *src,
int32_t amp, int32_t amp,
size_t size) size_t size)