Home
last modified time | relevance | path

Searched refs:mResampler (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audioflinger/
DThreads.h1179 if (mResampler != NULL) { in reset()
1180 mResampler->reset(); in reset()
1210 AudioResampler *mResampler; variable
DThreads.cpp6759 mResampler(NULL), in RecordBufferConverter()
6771 delete mResampler; in ~RecordBufferConverter()
6783 if (mResampler == NULL) { in convert()
6814 frames = mResampler->resample((int32_t*)mBuf, frames, provider); in convert()
6864 delete mResampler; in updateParameters()
6865 mResampler = NULL; in updateParameters()
6867 mResampler = AudioResampler::create(AUDIO_FORMAT_PCM_FLOAT, in updateParameters()
6869 mResampler->setSampleRate(mSrcSampleRate); in updateParameters()
6870 mResampler->setVolume(AudioMixer::UNITY_GAIN_FLOAT, AudioMixer::UNITY_GAIN_FLOAT); in updateParameters()
6882 mRequiresFloat = mResampler != NULL || mIsLegacyDownmix || mIsLegacyUpmix; in updateParameters()
[all …]