Searched refs:devSampleRate (Results 1 – 2 of 2) sorted by relevance
225 bool setResampler(uint32_t trackSampleRate, uint32_t devSampleRate);227 void recreateResampler(uint32_t devSampleRate);
490 bool AudioMixerBase::TrackBase::setResampler(uint32_t trackSampleRate, uint32_t devSampleRate) in setResampler() argument492 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() argument596 sampleRate = devSampleRate; // without resampler, track rate is device sample rate. in recreateResampler()598 setResampler(resetToSampleRate /*trackSampleRate*/, devSampleRate); in recreateResampler()