Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DNonBlockingAudioTrack.java51 int channelConfig; in NonBlockingAudioTrack() local
54 channelConfig = AudioFormat.CHANNEL_OUT_MONO; in NonBlockingAudioTrack()
57 channelConfig = AudioFormat.CHANNEL_OUT_STEREO; in NonBlockingAudioTrack()
60 channelConfig = AudioFormat.CHANNEL_OUT_5POINT1; in NonBlockingAudioTrack()
69 channelConfig, in NonBlockingAudioTrack()
78 channelConfig, in NonBlockingAudioTrack()
90 .setChannelMask(channelConfig) in NonBlockingAudioTrack()
DAudioTrackSurroundTest.java208 private static AudioTrack createAudioTrack(int sampleRate, int encoding, int channelConfig) { in createAudioTrack() argument
211 sampleRate, channelConfig, in createAudioTrack()
216 sampleRate, channelConfig, in createAudioTrack()
341 SamplePlayerBase(int sampleRate, int encoding, int channelConfig) { in SamplePlayerBase() argument
344 mChannelConfig = channelConfig; in SamplePlayerBase()
469 SamplePlayerShorts(int sampleRate, int encoding, int channelConfig) { in SamplePlayerShorts() argument
470 super(sampleRate, encoding, channelConfig); in SamplePlayerShorts()
480 SamplePlayerShorts(int sampleRate, int encoding, int channelConfig, in SamplePlayerShorts() argument
482 super(sampleRate, encoding, channelConfig); in SamplePlayerShorts()
509 SamplePlayerBytes(int sampleRate, int encoding, int channelConfig) { in SamplePlayerBytes() argument
[all …]
DMediaSyncTest.java706 int channelConfig = (mediaFormat.getInteger(MediaFormat.KEY_CHANNEL_COUNT) == 1 ? in getAudioTrack() local
711 channelConfig, in getAudioTrack()
714 final int frameSizeInBytes = Integer.bitCount(channelConfig) in getAudioTrack()
722 channelConfig, in getAudioTrack()
DAudioRecordTest.java970 int channelConfig, int audioFormat, int bufferSizeInBytes, in createAudioRecord() argument
975 audioSource, sampleRateInHz, channelConfig, in createAudioRecord()
980 .setChannelIndexMask(channelConfig) in createAudioRecord()
987 record = new AudioRecord(audioSource, sampleRateInHz, channelConfig, in createAudioRecord()
993 assertEquals(isChannelIndex ? channelConfig : AudioFormat.CHANNEL_INVALID, in createAudioRecord()
995 assertEquals(isChannelIndex ? AudioFormat.CHANNEL_INVALID : channelConfig, in createAudioRecord()
DAudioTrackTest.java3512 public MockAudioTrack(int streamType, int sampleRateInHz, int channelConfig, in MockAudioTrack() argument
3514 super(streamType, sampleRateInHz, channelConfig, audioFormat, bufferSizeInBytes, mode); in MockAudioTrack()
/cts/tests/tests/systemui/AudioRecorderTestApp_AudioRecord/src/android/systemui/cts/audiorecorder/audiorecord/
DAudioRecorderService.java48 final int channelConfig = AudioFormat.CHANNEL_IN_MONO; in run() local
51 … final int bufferSizeInBytes = 2 * AudioRecord.getMinBufferSize(sampleRate, channelConfig, in run()
59 .setChannelMask(channelConfig) in run()