diff options
Diffstat (limited to 'services/audioflinger/AudioResamplerSinc.h')
-rw-r--r-- | services/audioflinger/AudioResamplerSinc.h | 8 |
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[]; |