Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DNonBlockingAudioTrack.java49 int channelConfig; in NonBlockingAudioTrack() local
52 channelConfig = AudioFormat.CHANNEL_OUT_MONO; in NonBlockingAudioTrack()
55 channelConfig = AudioFormat.CHANNEL_OUT_STEREO; in NonBlockingAudioTrack()
58 channelConfig = AudioFormat.CHANNEL_OUT_5POINT1; in NonBlockingAudioTrack()
67 channelConfig, in NonBlockingAudioTrack()
76 channelConfig, in NonBlockingAudioTrack()
88 .setChannelMask(channelConfig) in NonBlockingAudioTrack()
DMediaSyncTest.java642 int channelConfig = (mediaFormat.getInteger(MediaFormat.KEY_CHANNEL_COUNT) == 1 ? in getAudioTrack() local
647 channelConfig, in getAudioTrack()
650 final int frameSizeInBytes = Integer.bitCount(channelConfig) in getAudioTrack()
658 channelConfig, in getAudioTrack()
DAudioRecordTest.java602 int channelConfig, int audioFormat, int bufferSizeInBytes, in createAudioRecord() argument
607 audioSource, sampleRateInHz, channelConfig, in createAudioRecord()
612 .setChannelIndexMask(channelConfig) in createAudioRecord()
619 record = new AudioRecord(audioSource, sampleRateInHz, channelConfig, in createAudioRecord()
625 assertEquals(isChannelIndex ? channelConfig : AudioFormat.CHANNEL_INVALID, in createAudioRecord()
627 assertEquals(isChannelIndex ? AudioFormat.CHANNEL_INVALID : channelConfig, in createAudioRecord()
DAudioTrackTest.java2276 public MockAudioTrack(int streamType, int sampleRateInHz, int channelConfig, in MockAudioTrack() argument
2278 super(streamType, sampleRateInHz, channelConfig, audioFormat, bufferSizeInBytes, mode); in MockAudioTrack()