Home
last modified time | relevance | path

Searched refs:trackSampleRate (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/extractors/tests/
DExtractorUnitTest.cpp482 int32_t trackSampleRate, trackChannelCount; in TEST_P() local
490 &trackSampleRate)); in TEST_P()
492 ASSERT_EQ(exSampleRate, trackSampleRate) << "SampleRate not as expected"; in TEST_P()
893 int32_t trackSampleRate, trackChannelCount; in TEST_P() local
897 AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, &trackSampleRate)); in TEST_P()
898 ASSERT_EQ(configParam.sampleRate, trackSampleRate) << "SampleRate not as expected"; in TEST_P()
/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()
474 if (sampleRate != trackSampleRate) { in setResampler()
475 sampleRate = trackSampleRate; in setResampler()
478 trackSampleRate, devSampleRate); in setResampler()
484 if (isMusicRate(trackSampleRate)) { in setResampler()
/frameworks/av/media/libaudioprocessing/include/media/
DAudioMixerBase.h214 bool setResampler(uint32_t trackSampleRate, uint32_t devSampleRate);
/frameworks/av/include/media/
DVolumeShaper.h627 int64_t trackFrameCount, double trackSampleRate) { in getVolume() argument
638 const double sampleRate = clockTime ? 1000000 : trackSampleRate; in getVolume()