summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioResamplerDyn.h
diff options
context:
space:
mode:
authorAndy Hung <hunga@google.com>2014-04-09 19:36:43 -0700
committerAndy Hung <hunga@google.com>2014-07-02 16:00:53 -0700
commit075abae2a954bf3edf18ad1705c2c0f188454ae0 (patch)
treea2fdfffb6a6831a082a1367c303d542ae9f9c286 /services/audioflinger/AudioResamplerDyn.h
parent68ffa200de7c4662c088851a328923be715c6c24 (diff)
downloadframeworks_av-075abae2a954bf3edf18ad1705c2c0f188454ae0.zip
frameworks_av-075abae2a954bf3edf18ad1705c2c0f188454ae0.tar.gz
frameworks_av-075abae2a954bf3edf18ad1705c2c0f188454ae0.tar.bz2
Add and enable multichannel for audio resampler
Change-Id: I2b86fb73d70abc4c456f7567270a888086b301d4 Signed-off-by: Andy Hung <hunga@google.com>
Diffstat (limited to 'services/audioflinger/AudioResamplerDyn.h')
-rw-r--r--services/audioflinger/AudioResamplerDyn.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/services/audioflinger/AudioResamplerDyn.h b/services/audioflinger/AudioResamplerDyn.h
index 8c56319..3dced8a 100644
--- a/services/audioflinger/AudioResamplerDyn.h
+++ b/services/audioflinger/AudioResamplerDyn.h
@@ -110,12 +110,10 @@ private:
void createKaiserFir(Constants &c, double stopBandAtten,
int inSampleRate, int outSampleRate, double tbwCheat);
- void setResampler(unsigned resampleType);
-
template<int CHANNELS, bool LOCKED, int STRIDE>
void resample(TO* out, size_t outFrameCount, AudioBufferProvider* provider);
- // declare a pointer to member function for resample
+ // define a pointer to member function type for resample
typedef void (AudioResamplerDyn<TC, TI, TO>::*resample_ABP_t)(TO* out,
size_t outFrameCount, AudioBufferProvider* provider);