Searched refs:kOpusSampleRate (Results 1 – 3 of 3) sorted by relevance
46 constexpr uint32_t kOpusSampleRate = 48000; variable106 uint64_t codecDelayNs = skipSamples * kNsecPerSec / kOpusSampleRate; in TEST_P()108 int32_t headerSize = WriteOpusHeaders(writtenHeader, kOpusSampleRate, headerData, in TEST_P()
202 static const int32_t kOpusSampleRate = 48000; member691 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()
1784 static const int32_t kOpusSampleRate = 48000; in parseChunk() local1785 int64_t codecDelay = pre_skip * 1000000000ll / kOpusSampleRate; in parseChunk()