Searched refs:mResampler (Results 1 – 6 of 6) sorted by relevance
55 mResampler(NULL), in RecordBufferConverter()67 delete mResampler; in ~RecordBufferConverter()72 if (mResampler != NULL) { in reset()73 mResampler->reset(); in reset()85 if (mResampler == NULL) { in convert()116 frames = mResampler->resample((int32_t*)mBuf, frames, provider); in convert()171 delete mResampler; in updateParameters()172 mResampler = NULL; in updateParameters()174 mResampler = AudioResampler::create(AUDIO_FORMAT_PCM_FLOAT, in updateParameters()176 mResampler->setSampleRate(mSrcSampleRate); in updateParameters()[all …]
258 if (track->mResampler.get() != nullptr) { in setChannelMasks()261 track->mResampler.reset(nullptr); in setChannelMasks()747 track->mResampler.reset(nullptr); in setParameter()819 if (trackSampleRate != devSampleRate || mResampler.get() != nullptr) { in setResampler()822 if (mResampler.get() == nullptr) { in setResampler()843 mResampler.reset(AudioResampler::create( in setResampler()1117 mResampler->setSampleRate(sampleRate); in track__genericResample()1123 mResampler->setVolume(UNITY_GAIN_FLOAT, UNITY_GAIN_FLOAT); in track__genericResample()1125 mResampler->resample(temp, outFrameCount, bufferProvider); in track__genericResample()1133 mResampler->setVolume(UNITY_GAIN_FLOAT, UNITY_GAIN_FLOAT); in track__genericResample()[all …]
269 mResampler.reset(nullptr); in ~Track()282 bool doesResample() const { return mResampler.get() != nullptr; } in doesResample()283 void resetResampler() { if (mResampler.get() != nullptr) mResampler->reset(); } in resetResampler()285 size_t getUnreleasedFrames() const { return mResampler.get() != nullptr ? in getUnreleasedFrames()286 mResampler->getUnreleasedFrames() : 0; }; in getUnreleasedFrames()339 std::unique_ptr<AudioResampler> mResampler; member
107 AudioResampler *mResampler; variable