Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioprocessing/include/media/
DAudioMixerBase.h214 bool setResampler(uint32_t trackSampleRate, uint32_t devSampleRate);
216 void recreateResampler(uint32_t devSampleRate);
/frameworks/av/media/libaudioprocessing/
DAudioMixerBase.cpp471 bool AudioMixerBase::TrackBase::setResampler(uint32_t trackSampleRate, uint32_t devSampleRate) in setResampler() argument
473 if (trackSampleRate != devSampleRate || mResampler.get() != nullptr) { in setResampler()
478 trackSampleRate, devSampleRate); in setResampler()
495 mMixerInFormat, resamplerChannelCount, devSampleRate, quality); in setResampler()
499 devSampleRate, quality)); in setResampler()
572 void AudioMixerBase::TrackBase::recreateResampler(uint32_t devSampleRate) in recreateResampler() argument
577 sampleRate = devSampleRate; // without resampler, track rate is device sample rate. in recreateResampler()
579 setResampler(resetToSampleRate /*trackSampleRate*/, devSampleRate); in recreateResampler()