1
0
Fork 0
forked from len0rd/rockbox

mp3 encoder (codec): left and right channels were inverted in mono

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27219 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-07-01 14:21:28 +00:00
parent ffe8ceccf3
commit a64fa107d1

View file

@ -2093,8 +2093,8 @@ STATICIRAM void to_mono_mm(void)
inline void to_mono(uint16_t **samp) inline void to_mono(uint16_t **samp)
{ {
int16_t r = **samp; int16_t l = **samp;
int16_t l = *(*samp+1); int16_t r = *(*samp+1);
int32_t m; int32_t m;
switch(cfg.rec_mono_mode) switch(cfg.rec_mono_mode)