Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioprocessing/include/media/
DAudioMixerBase.h221 bool setResampler(uint32_t trackSampleRate, uint32_t devSampleRate);
223 void recreateResampler(uint32_t devSampleRate);
/frameworks/av/media/libaudioprocessing/
DAudioMixerBase.cpp472 bool AudioMixerBase::TrackBase::setResampler(uint32_t trackSampleRate, uint32_t devSampleRate) in setResampler() argument
474 if (trackSampleRate != devSampleRate || mResampler.get() != nullptr) { in setResampler()
479 trackSampleRate, devSampleRate); in setResampler()
496 mMixerInFormat, resamplerChannelCount, devSampleRate, quality); in setResampler()
500 devSampleRate, quality)); in setResampler()
573 void AudioMixerBase::TrackBase::recreateResampler(uint32_t devSampleRate) in recreateResampler() argument
578 sampleRate = devSampleRate; // without resampler, track rate is device sample rate. in recreateResampler()
580 setResampler(resetToSampleRate /*trackSampleRate*/, devSampleRate); in recreateResampler()