Home
last modified time | relevance | path

Searched refs:kOpusSampleRate (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/foundation/tests/OpusHeader/
DOpusHeaderTest.cpp46 constexpr uint32_t kOpusSampleRate = 48000; variable
106 uint64_t codecDelayNs = skipSamples * kNsecPerSec / kOpusSampleRate; in TEST_P()
108 int32_t headerSize = WriteOpusHeaders(writtenHeader, kOpusSampleRate, headerData, in TEST_P()
/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp202 static const int32_t kOpusSampleRate = 48000; member
691 uint32_t numSamples = (uint32_t)((uint64_t)frameSizeUs * numFrames * kOpusSampleRate) / 1000000; in getNumSamplesInPacket()
1041 return pcmSamplePosition * 1000000ll / kOpusSampleRate; in getTimeUsOfGranule()
1075 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, kOpusSampleRate); in verifyOpusHeader()
1077 int64_t codecdelay = mCodecDelay /* sample/s */ * 1000000000ll / kOpusSampleRate; in verifyOpusHeader()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp1784 static const int32_t kOpusSampleRate = 48000; in parseChunk() local
1785 int64_t codecDelay = pre_skip * 1000000000ll / kOpusSampleRate; in parseChunk()