HomeSort by relevance Sort by last modified time
    Searched refs:channelConfig (Results 1 - 25 of 42) sorted by null

1 2

  /frameworks/base/core/java/android/bluetooth/
BluetoothAudioConfig.java 35 public BluetoothAudioConfig(int sampleRate, int channelConfig, int audioFormat) {
37 mChannelConfig = channelConfig;
71 int channelConfig = in.readInt();
73 return new BluetoothAudioConfig(sampleRate, channelConfig, audioFormat);
  /cts/tests/tests/media/src/android/media/cts/
NonBlockingAudioTrack.java 50 int channelConfig;
53 channelConfig = AudioFormat.CHANNEL_OUT_MONO;
56 channelConfig = AudioFormat.CHANNEL_OUT_STEREO;
59 channelConfig = AudioFormat.CHANNEL_OUT_5POINT1;
68 channelConfig,
77 channelConfig,
89 .setChannelMask(channelConfig)
AudioTrackSurroundTest.java 197 private static AudioTrack createAudioTrack(int sampleRate, int encoding, int channelConfig) {
200 sampleRate, channelConfig,
205 sampleRate, channelConfig,
292 SamplePlayerBase(int sampleRate, int encoding, int channelConfig) {
295 mChannelConfig = channelConfig;
416 SamplePlayerShorts(int sampleRate, int encoding, int channelConfig) {
417 super(sampleRate, encoding, channelConfig);
427 SamplePlayerShorts(int sampleRate, int encoding, int channelConfig, @RawRes int resourceId)
429 super(sampleRate, encoding, channelConfig);
456 SamplePlayerBytes(int sampleRate, int encoding, int channelConfig) {
    [all...]
MediaSyncTest.java 702 int channelConfig = (mediaFormat.getInteger(MediaFormat.KEY_CHANNEL_COUNT) == 1 ?
707 channelConfig,
710 final int frameSizeInBytes = Integer.bitCount(channelConfig)
718 channelConfig,
AudioRecordTest.java     [all...]
  /external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
AndroidAudioRecorder.java 33 int channelConfig = isMono ? AudioFormat.CHANNEL_IN_MONO : AudioFormat.CHANNEL_IN_STEREO;
34 int minBufferSize = AudioRecord.getMinBufferSize(samplingRate, channelConfig, AudioFormat.ENCODING_PCM_16BIT);
35 recorder = new AudioRecord(MediaRecorder.AudioSource.MIC, samplingRate, channelConfig, AudioFormat.ENCODING_PCM_16BIT,
  /external/aac/libMpegTPDec/include/
tp_data.h 328 static inline int getNumberOfTotalChannels(int channelConfig)
330 switch (channelConfig) {
333 return channelConfig;
344 int getNumberOfEffectiveChannels(const int channelConfig)
347 return n[channelConfig];
tpdec_lib.h 206 \param channelConfig MPEG-4 channel configuration.
210 const UINT channelConfig );
231 UINT channelConfig,
  /external/aac/libMpegTPEnc/include/
tp_data.h 328 static inline int getNumberOfTotalChannels(int channelConfig)
330 switch (channelConfig) {
333 return channelConfig;
344 int getNumberOfEffectiveChannels(const int channelConfig)
347 return n[channelConfig];
  /frameworks/base/media/java/android/media/
AudioTrack.java 336 * @param channelConfig describes the configuration of the audio channels.
363 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat,
366 this(streamType, sampleRateInHz, channelConfig, audioFormat,
389 * @param channelConfig describes the configuration of the audio channels.
418 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat,
426 .setChannelMask(channelConfig)
    [all...]
AudioRecord.java 261 * @param channelConfig describes the configuration of the audio channels.
275 public AudioRecord(int audioSource, int sampleRateInHz, int channelConfig, int audioFormat,
282 .setChannelMask(getChannelMaskFromLegacyConfig(channelConfig,
    [all...]
  /external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
WebRtcAudioManager.java 245 final int channelConfig;
247 channelConfig = AudioFormat.CHANNEL_OUT_MONO;
249 channelConfig = AudioFormat.CHANNEL_OUT_STEREO;
254 sampleRateInHz, channelConfig, AudioFormat.ENCODING_PCM_16BIT) /
  /frameworks/av/media/libstagefright/rtsp/
ARTPAssembler.h 52 unsigned channelConfig,
ARTPAssembler.cpp 75 unsigned channelConfig,
104 | (channelConfig >> 2);
106 dst[3] = ((channelConfig & 3) << 6) | (frameLength >> 11);
  /frameworks/base/core/java/android/speech/tts/
BlockingAudioTrack.java 211 final int channelConfig = getChannelConfig(mChannelCount);
214 = AudioTrack.getMinBufferSize(mSampleRateInHz, channelConfig, mAudioFormat);
218 .setChannelMask(channelConfig)
PlaybackSynthesisCallback.java 137 int channelConfig = BlockingAudioTrack.getChannelConfig(channelCount);
140 if (channelConfig == 0) {
  /external/aac/libMpegTPDec/src/
tpdec_asc.cpp 364 const UINT channelConfig )
372 switch (channelConfig) {
418 pPce->BackElementIsCpe[0] = (channelConfig>4) ? 1 : 0;
419 pPce->NumChannels += (channelConfig>4) ? 2 : 1;
420 pPce->NumEffectiveChannels += (channelConfig>4) ? 2 : 1;
469 * \brief get implicit audio channel type for given channelConfig and MPEG ordered channel index
470 * \param channelConfig MPEG channelConfiguration from 1 upto 14
478 UINT channelConfig,
486 switch (channelConfig) {
565 UINT channelConfig,
    [all...]
  /external/aac/libAACdec/src/
aacdecoder.cpp 401 \channelConfig Current channel configuration
410 const UINT channelConfig,
431 if ( !pce->isValid && (channelConfig > 0) ) {
433 CProgramConfig_GetDefault( pce, channelConfig );
445 if (channelConfig == 0) {
693 pStreamInfo->channelConfig = -1;
934 self->streamInfo.channelConfig = asc->m_channelConfiguration;
    [all...]
  /external/aac/libAACdec/include/
aacdecoder_lib.h     [all...]
  /frameworks/base/media/java/android/media/projection/
MediaProjection.java 146 int sampleRateInHz, int channelConfig,
  /frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
SoundTriggerTestService.java 571 int channelConfig = AudioFormat.CHANNEL_OUT_MONO;
573 channelConfig = AudioFormat.CHANNEL_OUT_STEREO;
580 format.getSampleRate(), channelConfig, format.getEncoding(),
  /external/aac/libMpegTPEnc/src/
tpenc_lib.cpp 177 * \param channelConfig Channel Configuration derived from Channel Mode
185 const int channelConfig,
194 switch ( channelConfig ) {