Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioprocessing/include/media/
DAudioMixerBase.h225 bool setResampler(uint32_t trackSampleRate, uint32_t devSampleRate);
227 void recreateResampler(uint32_t devSampleRate);
/frameworks/av/media/libaudioprocessing/
DAudioMixerBase.cpp490 bool AudioMixerBase::TrackBase::setResampler(uint32_t trackSampleRate, uint32_t devSampleRate) in setResampler() argument
492 if (trackSampleRate != devSampleRate || mResampler.get() != nullptr) { in setResampler()
497 trackSampleRate, devSampleRate); in setResampler()
514 mMixerInFormat, resamplerChannelCount, devSampleRate, quality); in setResampler()
518 devSampleRate, quality)); in setResampler()
591 void AudioMixerBase::TrackBase::recreateResampler(uint32_t devSampleRate) in recreateResampler() argument
596 sampleRate = devSampleRate; // without resampler, track rate is device sample rate. in recreateResampler()
598 setResampler(resetToSampleRate /*trackSampleRate*/, devSampleRate); in recreateResampler()