Searched refs:kOpusSampleRate (Results 1 – 2 of 2) sorted by relevance
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()
1762 static const int32_t kOpusSampleRate = 48000; in parseChunk() local1763 int64_t codecDelay = pre_skip * 1000000000ll / kOpusSampleRate; in parseChunk()