summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@android.com>2014-03-07 02:23:19 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-07 02:23:19 +0000
commit396a2bc8d1934ccea6159dfcee88e47f0c3c21aa (patch)
treec16e317e1417d6229e635ca7c825dc59e939b1b9 /services
parent05a4b64ea4d01e29c427d8b5f5107b8edc2dbb21 (diff)
parentd66cd743525cc049033caa3e81cbdf74c72a4556 (diff)
downloadframeworks_av-396a2bc8d1934ccea6159dfcee88e47f0c3c21aa.zip
frameworks_av-396a2bc8d1934ccea6159dfcee88e47f0c3c21aa.tar.gz
frameworks_av-396a2bc8d1934ccea6159dfcee88e47f0c3c21aa.tar.bz2
am d66cd743: Merge "audioflinger: conform inline ASM to UAL"
* commit 'd66cd743525cc049033caa3e81cbdf74c72a4556': audioflinger: conform inline ASM to UAL
Diffstat (limited to 'services')
-rw-r--r--services/audioflinger/AudioResampler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/audioflinger/AudioResampler.cpp b/services/audioflinger/AudioResampler.cpp
index 2c3c719..e5cceb1 100644
--- a/services/audioflinger/AudioResampler.cpp
+++ b/services/audioflinger/AudioResampler.cpp
@@ -526,7 +526,7 @@ void AudioResamplerOrder1::AsmMono16Loop(int16_t *in, int32_t* maxOutPt, int32_t
" ldr r8, [sp, #" MO_PARAM5 " + 4]\n" // out
" ldr r0, [sp, #" MO_PARAM5 " + 0]\n" // &outputIndex
" ldr r0, [r0]\n" // outputIndex
- " add r8, r0, asl #2\n" // curOut
+ " add r8, r8, r0, asl #2\n" // curOut
" ldr r9, [sp, #" MO_PARAM5 " + 24]\n" // phaseIncrement
" ldr r10, [sp, #" MO_PARAM5 " + 12]\n" // vl
" ldr r11, [sp, #" MO_PARAM5 " + 16]\n" // vr
@@ -636,7 +636,7 @@ void AudioResamplerOrder1::AsmStereo16Loop(int16_t *in, int32_t* maxOutPt, int32
" ldr r8, [sp, #" ST_PARAM5 " + 4]\n" // out
" ldr r0, [sp, #" ST_PARAM5 " + 0]\n" // &outputIndex
" ldr r0, [r0]\n" // outputIndex
- " add r8, r0, asl #2\n" // curOut
+ " add r8, r8, r0, asl #2\n" // curOut
" ldr r9, [sp, #" ST_PARAM5 " + 24]\n" // phaseIncrement
" ldr r10, [sp, #" ST_PARAM5 " + 12]\n" // vl
" ldr r11, [sp, #" ST_PARAM5 " + 16]\n" // vr