summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioResamplerSinc.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-06 07:46:30 -0800
committerGlenn Kasten <gkasten@google.com>2012-01-06 08:00:59 -0800
commit54c3b66444ebfb9f2265ee70ac3b76ccefa0506a (patch)
tree2ae6ae86501101399d639f2a1227742c120e7ac8 /services/audioflinger/AudioResamplerSinc.h
parenta2a0a5d7d56baa831870f4bf2a0d942a477d92ef (diff)
downloadframeworks_av-54c3b66444ebfb9f2265ee70ac3b76ccefa0506a.zip
frameworks_av-54c3b66444ebfb9f2265ee70ac3b76ccefa0506a.tar.gz
frameworks_av-54c3b66444ebfb9f2265ee70ac3b76ccefa0506a.tar.bz2
By convention const goes before the type specifier
Change-Id: I70203abd6a6f54e5bd9f1412800cc01212157e58
Diffstat (limited to 'services/audioflinger/AudioResamplerSinc.h')
-rw-r--r--services/audioflinger/AudioResamplerSinc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/services/audioflinger/AudioResamplerSinc.h b/services/audioflinger/AudioResamplerSinc.h
index e6cb90b..0e1bc44 100644
--- a/services/audioflinger/AudioResamplerSinc.h
+++ b/services/audioflinger/AudioResamplerSinc.h
@@ -44,22 +44,22 @@ private:
template<int CHANNELS>
inline void filterCoefficient(
- int32_t& l, int32_t& r, uint32_t phase, int16_t const *samples);
+ int32_t& l, int32_t& r, uint32_t phase, const int16_t *samples);
template<int CHANNELS>
inline void interpolate(
int32_t& l, int32_t& r,
- int32_t const* coefs, int16_t lerp, int16_t const* samples);
+ const int32_t* coefs, int16_t lerp, const int16_t* samples);
template<int CHANNELS>
inline void read(int16_t*& impulse, uint32_t& phaseFraction,
- int16_t const* in, size_t inputIndex);
+ const int16_t* in, size_t inputIndex);
int16_t *mState;
int16_t *mImpulse;
int16_t *mRingFull;
- int32_t const * mFirCoefs;
+ const int32_t * mFirCoefs;
static const int32_t mFirCoefsDown[];
static const int32_t mFirCoefsUp[];