Home
last modified time | relevance | path

Searched refs:channelConfig (Results 1 – 8 of 8) 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.java487 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, in AudioTrack() argument
490 this(streamType, sampleRateInHz, channelConfig, audioFormat, in AudioTrack()
545 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, in AudioTrack() argument
553 .setChannelMask(channelConfig) in AudioTrack()
1237 private void audioParamCheck(int sampleRateInHz, int channelConfig, int channelIndexMask, in audioParamCheck() argument
1253 && channelConfig != AudioFormat.CHANNEL_OUT_STEREO) { in audioParamCheck()
1260 mChannelConfiguration = channelConfig; in audioParamCheck()
1262 switch (channelConfig) { in audioParamCheck()
1275 if (channelConfig == AudioFormat.CHANNEL_INVALID && channelIndexMask != 0) { in audioParamCheck()
1279 if (!isMultichannelConfigSupported(channelConfig)) { in audioParamCheck()
[all …]
DAudioRecord.java298 public AudioRecord(int audioSource, int sampleRateInHz, int channelConfig, int audioFormat, in AudioRecord() argument
305 .setChannelMask(getChannelMaskFromLegacyConfig(channelConfig, in AudioRecord()
1025 static public int getMinBufferSize(int sampleRateInHz, int channelConfig, int audioFormat) { in getMinBufferSize() argument
1027 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/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java580 int channelConfig = AudioFormat.CHANNEL_OUT_MONO; in run() local
582 channelConfig = AudioFormat.CHANNEL_OUT_STEREO; in run()
589 format.getSampleRate(), channelConfig, format.getEncoding(), in run()