From bf39e60ff7c9c1ccd9347ad789eaa22ceae28a6d Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Mon, 31 Oct 2011 21:43:17 +0100 Subject: [PATCH] AUDIO: Fix reverse stereo (LinearRate_R) on ARM. Fixes the issues I can reproduce, and presumably fixes bug #2998862. (cherry picked from commit 797406fe4c77b6a56cc4f8a50c15d639cd440ce4) --- audio/rate_arm_asm.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/rate_arm_asm.s b/audio/rate_arm_asm.s index d86d96267eb..228c43f376c 100644 --- a/audio/rate_arm_asm.s +++ b/audio/rate_arm_asm.s @@ -615,7 +615,7 @@ LinearRate_R_read_return: SUBS r8, r8, #65536 @ r8 = opos-- STRH r10,[r2,#22] @ ilast[0] = icur[0] MOV r10,r10,LSR #16 - STRH r10,[r2,#22] @ ilast[1] = icur[1] + STRH r10,[r2,#26] @ ilast[1] = icur[1] STRH r5, [r2,#16] @ icur[0] = tmp0 STRH r6, [r2,#18] @ icur[1] = tmp1 BGE LinearRate_R_loop