Hi all,
I am trying to compile a custom build (Sansa Clip+) which has the left/right channels swapped, i.e. sound that should come out of the left earphone comes out the right, and vice versa.
I searched the forum and the clearest instructions I found were here:
http://forums.rockbox.org/index.php?topic=9939.0Specifically,
But basically it is only one assembler line to change (for Sansa):
/firmware/target/arm/pcm_pp.c:
change required in #ifdef HAVE_AS3514
"mov r10, r10, ror #2\n\t" /* put left sample at the top bits */
to
"mov r10, r10, ror #18\n\t" /* put right sample at the top bits */
But this was posted three years ago, and in the current build, pcm_pp.c doesn't have that line. The closest I found was:
"mov r2 , r12, lsl #16\n\t" /* put left sample at the top bits */
What should I edit in the current build to effect this change?