forked from len0rd/rockbox
Fix broken conversion of 16 bit interleaved stereo to internal format.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12441 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1df59e1a09
commit
011bc8934c
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ static int convert_lte_native_interleaved_stereo(
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
short slr = *s++;
|
int32_t slr = *s++;
|
||||||
#ifdef ROCKBOX_LITTLE_ENDIAN
|
#ifdef ROCKBOX_LITTLE_ENDIAN
|
||||||
*dl++ = (slr >> 16) << scale;
|
*dl++ = (slr >> 16) << scale;
|
||||||
*dr++ = (int32_t)(short)slr << scale;
|
*dr++ = (int32_t)(short)slr << scale;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue