/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/audio/ |
D | AacUtil.java | 269 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/webrtc/sdk/android/src/java/org/webrtc/audio/ |
D | WebRtcAudioManager.java | 110 final int channelConfig = in getMinOutputFrameSize() local 113 sampleRateInHz, channelConfig, AudioFormat.ENCODING_PCM_16BIT) in getMinOutputFrameSize() 122 final int channelConfig = in getMinInputFrameSize() local 125 sampleRateInHz, channelConfig, AudioFormat.ENCODING_PCM_16BIT) in getMinInputFrameSize()
|
D | WebRtcAudioTrack.java | 203 final int channelConfig = channelCountToConfiguration(channels); in initPlayout() local 204 final int minBufferSizeInBytes = (int) (AudioTrack.getMinBufferSize(sampleRate, channelConfig, in initPlayout() 235 createAudioTrackOnLollipopOrHigher(sampleRate, channelConfig, minBufferSizeInBytes); in initPlayout() 239 createAudioTrackOnLowerThanLollipop(sampleRate, channelConfig, minBufferSizeInBytes); in initPlayout() 387 int sampleRateInHz, int channelConfig, int bufferSizeInBytes) { in createAudioTrackOnLollipopOrHigher() argument 405 .setChannelMask(channelConfig) in createAudioTrackOnLollipopOrHigher() 412 int sampleRateInHz, int channelConfig, int bufferSizeInBytes) { in createAudioTrackOnLowerThanLollipop() argument 413 return new AudioTrack(AudioManager.STREAM_VOICE_CALL, sampleRateInHz, channelConfig, in createAudioTrackOnLowerThanLollipop()
|
D | WebRtcAudioRecord.java | 282 final int channelConfig = channelCountToConfiguration(channels); in initRecording() local 283 int minBufferSize = AudioRecord.getMinBufferSize(sampleRate, channelConfig, audioFormat); in initRecording() 300 audioSource, sampleRate, channelConfig, audioFormat, bufferSizeInBytes); in initRecording() 308 audioSource, sampleRate, channelConfig, audioFormat, bufferSizeInBytes); in initRecording() 406 int audioSource, int sampleRate, int channelConfig, int audioFormat, int bufferSizeInBytes) { in createAudioRecordOnMOrHigher() argument 413 .setChannelMask(channelConfig) in createAudioRecordOnMOrHigher() 420 int audioSource, int sampleRate, int channelConfig, int audioFormat, int bufferSizeInBytes) { in createAudioRecordOnLowerThanM() argument 422 return new AudioRecord(audioSource, sampleRate, channelConfig, audioFormat, bufferSizeInBytes); in createAudioRecordOnLowerThanM()
|
/external/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
D | WebRtcAudioTrack.java | 235 final int channelConfig = channelCountToConfiguration(channels); in initPlayout() local 236 final int minBufferSizeInBytes = (int) (AudioTrack.getMinBufferSize(sampleRate, channelConfig, in initPlayout() 267 sampleRate, channelConfig, minBufferSizeInBytes); in initPlayout() 271 createAudioTrackOnLowerThanLollipop(sampleRate, channelConfig, minBufferSizeInBytes); in initPlayout() 392 int sampleRateInHz, int channelConfig, int bufferSizeInBytes) { in createAudioTrackOnLollipopOrHigher() argument 414 .setChannelMask(channelConfig) in createAudioTrackOnLollipopOrHigher() 423 int sampleRateInHz, int channelConfig, int bufferSizeInBytes) { in createAudioTrackOnLowerThanLollipop() argument 424 return new AudioTrack(AudioManager.STREAM_VOICE_CALL, sampleRateInHz, channelConfig, in createAudioTrackOnLowerThanLollipop()
|
D | WebRtcAudioManager.java | 341 final int channelConfig = in getMinOutputFrameSize() local 344 sampleRateInHz, channelConfig, AudioFormat.ENCODING_PCM_16BIT) in getMinOutputFrameSize() 359 final int channelConfig = in getMinInputFrameSize() local 362 sampleRateInHz, channelConfig, AudioFormat.ENCODING_PCM_16BIT) in getMinInputFrameSize()
|
D | WebRtcAudioRecord.java | 254 final int channelConfig = channelCountToConfiguration(channels); in initRecording() local 256 AudioRecord.getMinBufferSize(sampleRate, channelConfig, AudioFormat.ENCODING_PCM_16BIT); in initRecording() 269 audioRecord = new AudioRecord(audioSource, sampleRate, channelConfig, in initRecording()
|
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
D | AudioRecordThread.java | 50 int channelConfig = (mChannelCount == 1) in createRecorder() local 54 channelConfig, in createRecorder() 59 channelConfig, in createRecorder()
|
/external/aac/libMpegTPEnc/include/ |
D | tp_data.h | 437 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/ |
D | tp_data.h | 437 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()
|
D | tpdec_lib.h | 221 void CProgramConfig_GetDefault(CProgramConfig *pPce, const UINT channelConfig);
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
D | AudioSink.java | 132 public InitializationException(int audioTrackState, int sampleRate, int channelConfig, in InitializationException() argument 135 + channelConfig + ", " + bufferSize + ")"); in InitializationException()
|
D | DefaultAudioSink.java | 1173 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/ |
D | tpdec_asc.cpp | 587 void CProgramConfig_GetDefault(CProgramConfig *pPce, const UINT channelConfig) { in CProgramConfig_GetDefault() argument 595 switch (channelConfig) { in CProgramConfig_GetDefault() 645 pPce->BackElementIsCpe[0] = (channelConfig > 4) ? 1 : 0; in CProgramConfig_GetDefault() 646 pPce->NumChannels += (channelConfig > 4) ? 2 : 1; in CProgramConfig_GetDefault() 647 pPce->NumEffectiveChannels += (channelConfig > 4) ? 2 : 1; in CProgramConfig_GetDefault() 708 UINT channelConfig, in getImplicitAudioChannelTypeAndIndex() argument 714 switch (channelConfig) { in getImplicitAudioChannelTypeAndIndex() 791 int CProgramConfig_LookupElement(CProgramConfig *pPce, UINT channelConfig, in CProgramConfig_LookupElement() argument 797 if (channelConfig > 0) { in CProgramConfig_LookupElement() 805 if ((channelConfig == 2) && in CProgramConfig_LookupElement() [all …]
|
/external/aac/libAACdec/src/ |
D | aacdecoder.cpp | 581 const UINT channelConfig, in CProgramConfigElement_Read() argument 598 if (!CProgramConfig_IsValid(pce) && (channelConfig > 0)) { in CProgramConfigElement_Read() 600 CProgramConfig_GetDefault(pce, channelConfig); in CProgramConfigElement_Read() 1281 pStreamInfo->channelConfig = -1; in CStreamInfoInit() 1877 self->streamInfo.channelConfig = asc->m_channelConfiguration; in CAacDecoder_Init() 2557 if (self->streamInfo.channelConfig == 0) { in CAacDecoder_DecodeFrame() 2627 if (self->streamInfo.channelConfig > 0) { in CAacDecoder_DecodeFrame() 2762 pce, self->streamInfo.channelConfig, in CAacDecoder_DecodeFrame() 2868 pce, self->streamInfo.channelConfig, in CAacDecoder_DecodeFrame() 2887 pce, self->streamInfo.channelConfig, element_instance_tag, 0, in CAacDecoder_DecodeFrame() [all …]
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | RecorderRunnable.java | 88 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/ |
D | AdtsReader.java | 497 int channelConfig = adtsScratch.readBits(3); in parseAdtsHeader() local 501 audioObjectType, firstFrameSampleRateIndex, channelConfig); in parseAdtsHeader()
|
/external/aac/libAACdec/include/ |
D | aacdecoder_lib.h | 816 INT channelConfig; /*!< Channel configuration (0: PCE defined, 1: mono, 2: member
|