Home
last modified time | relevance | path

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

/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/base/media/java/android/media/
DAudioTrack.java435 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, in AudioTrack() argument
438 this(streamType, sampleRateInHz, channelConfig, audioFormat, in AudioTrack()
493 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, in AudioTrack() argument
501 .setChannelMask(channelConfig) in AudioTrack()
1004 private void audioParamCheck(int sampleRateInHz, int channelConfig, int channelIndexMask, in audioParamCheck() argument
1020 && channelConfig != AudioFormat.CHANNEL_OUT_STEREO) { in audioParamCheck()
1027 mChannelConfiguration = channelConfig; in audioParamCheck()
1029 switch (channelConfig) { in audioParamCheck()
1042 if (channelConfig == AudioFormat.CHANNEL_INVALID && channelIndexMask != 0) { in audioParamCheck()
1046 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()
927 static public int getMinBufferSize(int sampleRateInHz, int channelConfig, int audioFormat) { in getMinBufferSize() argument
929 switch (channelConfig) { in getMinBufferSize()
/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.java147 int sampleRateInHz, int channelConfig, in createAudioRecord() argument
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java579 int channelConfig = AudioFormat.CHANNEL_OUT_MONO; in run() local
581 channelConfig = AudioFormat.CHANNEL_OUT_STEREO; in run()
588 format.getSampleRate(), channelConfig, format.getEncoding(), in run()