Searched refs:channelConfig (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAudioConfig.java | 35 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/ |
D | AudioTrack.java | 487 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() 1244 private void audioParamCheck(int sampleRateInHz, int channelConfig, int channelIndexMask, in audioParamCheck() argument 1260 && channelConfig != AudioFormat.CHANNEL_OUT_STEREO) { in audioParamCheck() 1267 mChannelConfiguration = channelConfig; in audioParamCheck() 1269 switch (channelConfig) { in audioParamCheck() 1282 if (channelConfig == AudioFormat.CHANNEL_INVALID && channelIndexMask != 0) { in audioParamCheck() 1286 if (!isMultichannelConfigSupported(channelConfig)) { in audioParamCheck() [all …]
|
D | AudioRecord.java | 298 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/ |
D | ARTPAssembler.cpp | 75 unsigned channelConfig, in MakeADTSCompoundFromAACFrames() argument 104 | (channelConfig >> 2); in MakeADTSCompoundFromAACFrames() 106 dst[3] = ((channelConfig & 3) << 6) | (frameLength >> 11); in MakeADTSCompoundFromAACFrames()
|
D | ARTPAssembler.h | 52 unsigned channelConfig,
|
/frameworks/base/core/java/android/speech/tts/ |
D | BlockingAudioTrack.java | 211 final int channelConfig = getChannelConfig(mChannelCount); in createStreamingAudioTrack() local 214 = AudioTrack.getMinBufferSize(mSampleRateInHz, channelConfig, mAudioFormat); in createStreamingAudioTrack() 218 .setChannelMask(channelConfig) in createStreamingAudioTrack()
|
D | PlaybackSynthesisCallback.java | 137 int channelConfig = BlockingAudioTrack.getChannelConfig(channelCount); in start() local 140 if (channelConfig == 0) { in start()
|
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/ |
D | SoundTriggerTestService.java | 580 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()
|