diff options
author | Nick Kralevich <nnk@google.com> | 2011-09-16 13:14:16 -0700 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2011-09-16 13:14:16 -0700 |
commit | eb8b914ad9d4331e1cdf4346731770ce69fd0e77 (patch) | |
tree | cf0032240f144033db3c512063fbd7f8161e042f /services/audioflinger/AudioResampler.cpp | |
parent | 5dc2812abddde309234edc786a541d251c4f820a (diff) | |
download | frameworks_av-eb8b914ad9d4331e1cdf4346731770ce69fd0e77.zip frameworks_av-eb8b914ad9d4331e1cdf4346731770ce69fd0e77.tar.gz frameworks_av-eb8b914ad9d4331e1cdf4346731770ce69fd0e77.tar.bz2 |
AudioResampler: use relative instead of absolute labels
This change is needed to allow Android to compile with -fPIE
Bug: 5328392
Change-Id: I84d947975776800a7b79c6ac75a881af461a631c
Diffstat (limited to 'services/audioflinger/AudioResampler.cpp')
-rw-r--r-- | services/audioflinger/AudioResampler.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/services/audioflinger/AudioResampler.cpp b/services/audioflinger/AudioResampler.cpp index dca795c..9ee5a30 100644 --- a/services/audioflinger/AudioResampler.cpp +++ b/services/audioflinger/AudioResampler.cpp @@ -434,9 +434,9 @@ void AudioResamplerOrder1::AsmMono16Loop(int16_t *in, int32_t* maxOutPt, int32_t // the following loop works on 2 frames - ".Y4L01:\n" + "1:\n" " cmp r8, r2\n" // curOut - maxCurOut - " bcs .Y4L02\n" + " bcs 2f\n" #define MO_ONE_FRAME \ " add r0, r1, r7, asl #1\n" /* in + inputIndex */\ @@ -460,8 +460,8 @@ void AudioResamplerOrder1::AsmMono16Loop(int16_t *in, int32_t* maxOutPt, int32_t MO_ONE_FRAME // frame 2 " cmp r7, r3\n" // inputIndex - maxInIdx - " bcc .Y4L01\n" - ".Y4L02:\n" + " bcc 1b\n" + "2:\n" " bic r6, r6, #0xC0000000\n" // phaseFraction & ... // save modified values @@ -541,9 +541,9 @@ void AudioResamplerOrder1::AsmStereo16Loop(int16_t *in, int32_t* maxOutPt, int32 // r13 sp // r14 - ".Y5L01:\n" + "3:\n" " cmp r8, r2\n" // curOut - maxCurOut - " bcs .Y5L02\n" + " bcs 4f\n" #define ST_ONE_FRAME \ " bic r6, r6, #0xC0000000\n" /* phaseFraction & ... */\ @@ -577,8 +577,8 @@ void AudioResamplerOrder1::AsmStereo16Loop(int16_t *in, int32_t* maxOutPt, int32 ST_ONE_FRAME // frame 1 " cmp r7, r3\n" // inputIndex - maxInIdx - " bcc .Y5L01\n" - ".Y5L02:\n" + " bcc 3b\n" + "4:\n" " bic r6, r6, #0xC0000000\n" // phaseFraction & ... // save modified values |