Home
last modified time | relevance | path

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

/frameworks/av/media/module/extractors/tests/
DExtractorUnitTest.cpp497 int32_t trackSampleRate, trackChannelCount; in TEST_P() local
505 &trackSampleRate)); in TEST_P()
507 ASSERT_EQ(exSampleRate, trackSampleRate) << "SampleRate not as expected"; in TEST_P()
914 int32_t trackSampleRate, trackChannelCount; in TEST_P() local
918 AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, &trackSampleRate)); in TEST_P()
919 ASSERT_EQ(configParam.sampleRate, trackSampleRate) << "SampleRate not as expected"; in TEST_P()
/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()
493 if (sampleRate != trackSampleRate) { in setResampler()
494 sampleRate = trackSampleRate; in setResampler()
497 trackSampleRate, devSampleRate); in setResampler()
503 if (isMusicRate(trackSampleRate)) { in setResampler()
/frameworks/av/media/libaudioprocessing/include/media/
DAudioMixerBase.h225 bool setResampler(uint32_t trackSampleRate, uint32_t devSampleRate);
/frameworks/av/include/media/
DVolumeShaper.h798 int64_t trackFrameCount, double trackSampleRate) { in getVolume() argument
809 const double sampleRate = clockTime ? 1000000 : trackSampleRate; in getVolume()