Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioTrack.java363 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, in AudioTrack() argument
366 this(streamType, sampleRateInHz, channelConfig, audioFormat, in AudioTrack()
418 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, in AudioTrack() argument
426 .setChannelMask(channelConfig) in AudioTrack()
806 private void audioParamCheck(int sampleRateInHz, int channelConfig, int channelIndexMask, in audioParamCheck() argument
822 && channelConfig != AudioFormat.CHANNEL_OUT_STEREO) { in audioParamCheck()
829 mChannelConfiguration = channelConfig; in audioParamCheck()
831 switch (channelConfig) { in audioParamCheck()
844 if (channelConfig == AudioFormat.CHANNEL_INVALID && channelIndexMask != 0) { in audioParamCheck()
848 if (!isMultichannelConfigSupported(channelConfig)) { in audioParamCheck()
[all …]
DAudioRecord.java275 public AudioRecord(int audioSource, int sampleRateInHz, int channelConfig, int audioFormat, in AudioRecord() argument
282 .setChannelMask(getChannelMaskFromLegacyConfig(channelConfig, in AudioRecord()
926 static public int getMinBufferSize(int sampleRateInHz, int channelConfig, int audioFormat) { in getMinBufferSize() argument
928 switch (channelConfig) { in getMinBufferSize()
/frameworks/base/core/java/android/bluetooth/
DBluetoothAudioConfig.java35 public BluetoothAudioConfig(int sampleRate, int channelConfig, int audioFormat) { in BluetoothAudioConfig() argument
37 mChannelConfig = channelConfig; in BluetoothAudioConfig()
71 int channelConfig = in.readInt();
73 return new BluetoothAudioConfig(sampleRate, channelConfig, audioFormat);
/frameworks/av/media/libstagefright/rtsp/
DARTPAssembler.cpp75 unsigned channelConfig, in MakeADTSCompoundFromAACFrames() argument
104 | (channelConfig >> 2); in MakeADTSCompoundFromAACFrames()
106 dst[3] = ((channelConfig & 3) << 6) | (frameLength >> 11); in MakeADTSCompoundFromAACFrames()
DARTPAssembler.h52 unsigned channelConfig,
/frameworks/base/core/java/android/speech/tts/
DBlockingAudioTrack.java211 final int channelConfig = getChannelConfig(mChannelCount); in createStreamingAudioTrack() local
214 = AudioTrack.getMinBufferSize(mSampleRateInHz, channelConfig, mAudioFormat); in createStreamingAudioTrack()
218 .setChannelMask(channelConfig) in createStreamingAudioTrack()
DPlaybackSynthesisCallback.java137 int channelConfig = BlockingAudioTrack.getChannelConfig(channelCount); in start() local
140 if (channelConfig == 0) { in start()
/frameworks/base/media/java/android/media/projection/
DMediaProjection.java146 int sampleRateInHz, int channelConfig, in createAudioRecord() argument