Home
last modified time | relevance | path

Searched refs:channelConfig (Results 1 – 12 of 12) sorted by relevance

/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/audio/
DAacUtil.java269 int channelConfig = C.INDEX_UNSET; in buildAacLcAudioSpecificConfig() local
272 channelConfig = i; in buildAacLcAudioSpecificConfig()
275 if (sampleRate == C.INDEX_UNSET || channelConfig == C.INDEX_UNSET) { in buildAacLcAudioSpecificConfig()
279 return buildAudioSpecificConfig(AUDIO_OBJECT_TYPE_AAC_LC, sampleRateIndex, channelConfig); in buildAacLcAudioSpecificConfig()
291 int audioObjectType, int sampleRateIndex, int channelConfig) { in buildAudioSpecificConfig() argument
294 specificConfig[1] = (byte) (((sampleRateIndex << 7) & 0x80) | ((channelConfig << 3) & 0x78)); in buildAudioSpecificConfig()
/external/aac/libMpegTPEnc/include/
Dtp_data.h437 static inline int getNumberOfTotalChannels(int channelConfig) { in getNumberOfTotalChannels() argument
438 switch (channelConfig) { in getNumberOfTotalChannels()
445 return channelConfig; in getNumberOfTotalChannels()
461 channelConfig) { /* index: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 */ in getNumberOfEffectiveChannels() argument
463 return n[channelConfig]; in getNumberOfEffectiveChannels()
/external/aac/libMpegTPDec/include/
Dtp_data.h437 static inline int getNumberOfTotalChannels(int channelConfig) { in getNumberOfTotalChannels() argument
438 switch (channelConfig) { in getNumberOfTotalChannels()
445 return channelConfig; in getNumberOfTotalChannels()
461 channelConfig) { /* index: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 */ in getNumberOfEffectiveChannels() argument
463 return n[channelConfig]; in getNumberOfEffectiveChannels()
Dtpdec_lib.h221 void CProgramConfig_GetDefault(CProgramConfig *pPce, const UINT channelConfig);
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioManager.java245 final int channelConfig; in getMinOutputFrameSize() local
247 channelConfig = AudioFormat.CHANNEL_OUT_MONO; in getMinOutputFrameSize()
249 channelConfig = AudioFormat.CHANNEL_OUT_STEREO; in getMinOutputFrameSize()
254 sampleRateInHz, channelConfig, AudioFormat.ENCODING_PCM_16BIT) / in getMinOutputFrameSize()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DAudioSink.java132 public InitializationException(int audioTrackState, int sampleRate, int channelConfig, in InitializationException() argument
135 + channelConfig + ", " + bufferSize + ")"); in InitializationException()
DDefaultAudioSink.java1173 int channelConfig = AudioFormat.CHANNEL_OUT_MONO; in initializeKeepSessionIdAudioTrack() local
1176 return new AudioTrack(C.STREAM_TYPE_DEFAULT, sampleRate, channelConfig, encoding, bufferSize, in initializeKeepSessionIdAudioTrack()
/external/aac/libMpegTPDec/src/
Dtpdec_asc.cpp442 void CProgramConfig_GetDefault(CProgramConfig *pPce, const UINT channelConfig) { in CProgramConfig_GetDefault() argument
450 switch (channelConfig) { in CProgramConfig_GetDefault()
500 pPce->BackElementIsCpe[0] = (channelConfig > 4) ? 1 : 0; in CProgramConfig_GetDefault()
501 pPce->NumChannels += (channelConfig > 4) ? 2 : 1; in CProgramConfig_GetDefault()
502 pPce->NumEffectiveChannels += (channelConfig > 4) ? 2 : 1; in CProgramConfig_GetDefault()
563 UINT channelConfig, in getImplicitAudioChannelTypeAndIndex() argument
569 switch (channelConfig) { in getImplicitAudioChannelTypeAndIndex()
646 int CProgramConfig_LookupElement(CProgramConfig *pPce, UINT channelConfig, in CProgramConfig_LookupElement() argument
652 if (channelConfig > 0) { in CProgramConfig_LookupElement()
660 if ((channelConfig == 2) && in CProgramConfig_LookupElement()
[all …]
/external/aac/libAACdec/src/
Daacdecoder.cpp512 const UINT channelConfig, in CProgramConfigElement_Read() argument
529 if (!CProgramConfig_IsValid(pce) && (channelConfig > 0)) { in CProgramConfigElement_Read()
531 CProgramConfig_GetDefault(pce, channelConfig); in CProgramConfigElement_Read()
1207 pStreamInfo->channelConfig = -1; in CStreamInfoInit()
1774 self->streamInfo.channelConfig = asc->m_channelConfiguration; in CAacDecoder_Init()
2442 if (self->streamInfo.channelConfig == 0) { in CAacDecoder_DecodeFrame()
2512 if (self->streamInfo.channelConfig > 0) { in CAacDecoder_DecodeFrame()
2647 pce, self->streamInfo.channelConfig, in CAacDecoder_DecodeFrame()
2753 pce, self->streamInfo.channelConfig, in CAacDecoder_DecodeFrame()
2772 pce, self->streamInfo.channelConfig, element_instance_tag, 0, in CAacDecoder_DecodeFrame()
[all …]
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DRecorderRunnable.java88 RecorderRunnable(PipeShort latencyPipe, int samplingRate, int channelConfig, int audioFormat, in RecorderRunnable() argument
95 mChannelConfig = channelConfig; in RecorderRunnable()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/
DAdtsReader.java497 int channelConfig = adtsScratch.readBits(3); in parseAdtsHeader() local
501 audioObjectType, firstFrameSampleRateIndex, channelConfig); in parseAdtsHeader()
/external/aac/libAACdec/include/
Daacdecoder_lib.h816 INT channelConfig; /*!< Channel configuration (0: PCE defined, 1: mono, 2: member