Searched refs:sampleRateIndex (Results 1 – 4 of 4) sorted by relevance
263 int sampleRateIndex = C.INDEX_UNSET; in buildAacLcAudioSpecificConfig() local266 sampleRateIndex = i; in buildAacLcAudioSpecificConfig()279 return buildAudioSpecificConfig(AUDIO_OBJECT_TYPE_AAC_LC, sampleRateIndex, channelConfig); in buildAacLcAudioSpecificConfig()291 int audioObjectType, int sampleRateIndex, int channelConfig) { in buildAudioSpecificConfig() argument293 specificConfig[0] = (byte) (((audioObjectType << 3) & 0xF8) | ((sampleRateIndex >> 1) & 0x07)); in buildAudioSpecificConfig()294 specificConfig[1] = (byte) (((sampleRateIndex << 7) & 0x80) | ((channelConfig << 3) & 0x78)); in buildAudioSpecificConfig()
62 int sampleRateIndex = (header >> 2) & 0x03; in parseHeader() local63 int sampleRate = AUDIO_SAMPLING_RATE_TABLE[sampleRateIndex]; in parseHeader()
352 int sampleRateIndex, i; in transportEnc_writePCE() local364 sampleRateIndex = getSamplingRateIndex(sampleRate, 4); in transportEnc_writePCE()365 if (sampleRateIndex == 15) { in transportEnc_writePCE()386 FDKwriteBits(hBs, sampleRateIndex, 4); /* Sample rate index*/ in transportEnc_writePCE()
196 int sampleRateIndex = data[IDX_SAMPLE_RATE_INDEX] % kSampleRatesSize; in initEncoder() local197 opus_int32 sampleRate = kSampleRates[sampleRateIndex]; in initEncoder()