Home
last modified time | relevance | path

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

/frameworks/av/media/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.cpp472 bool AudioMixerBase::TrackBase::setResampler(uint32_t trackSampleRate, uint32_t devSampleRate) in setResampler() argument
474 if (trackSampleRate != devSampleRate || mResampler.get() != nullptr) { in setResampler()
475 if (sampleRate != trackSampleRate) { in setResampler()
476 sampleRate = trackSampleRate; in setResampler()
479 trackSampleRate, devSampleRate); in setResampler()
485 if (isMusicRate(trackSampleRate)) { in setResampler()
/frameworks/av/media/libaudioprocessing/include/media/
DAudioMixerBase.h221 bool setResampler(uint32_t trackSampleRate, uint32_t devSampleRate);
/frameworks/av/include/media/
DVolumeShaper.h753 int64_t trackFrameCount, double trackSampleRate) { in getVolume() argument
764 const double sampleRate = clockTime ? 1000000 : trackSampleRate; in getVolume()