Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DNonBlockingAudioTrack.java50 int channelConfig; in NonBlockingAudioTrack() local
53 channelConfig = AudioFormat.CHANNEL_OUT_MONO; in NonBlockingAudioTrack()
56 channelConfig = AudioFormat.CHANNEL_OUT_STEREO; in NonBlockingAudioTrack()
59 channelConfig = AudioFormat.CHANNEL_OUT_5POINT1; in NonBlockingAudioTrack()
68 channelConfig, in NonBlockingAudioTrack()
77 channelConfig, in NonBlockingAudioTrack()
89 .setChannelMask(channelConfig) in NonBlockingAudioTrack()
DAudioTrackSurroundTest.java197 private static AudioTrack createAudioTrack(int sampleRate, int encoding, int channelConfig) { in createAudioTrack() argument
200 sampleRate, channelConfig, in createAudioTrack()
205 sampleRate, channelConfig, in createAudioTrack()
292 SamplePlayerBase(int sampleRate, int encoding, int channelConfig) { in SamplePlayerBase() argument
295 mChannelConfig = channelConfig; in SamplePlayerBase()
416 SamplePlayerShorts(int sampleRate, int encoding, int channelConfig) { in SamplePlayerShorts() argument
417 super(sampleRate, encoding, channelConfig); in SamplePlayerShorts()
427 SamplePlayerShorts(int sampleRate, int encoding, int channelConfig, @RawRes int resourceId) in SamplePlayerShorts() argument
429 super(sampleRate, encoding, channelConfig); in SamplePlayerShorts()
456 SamplePlayerBytes(int sampleRate, int encoding, int channelConfig) { in SamplePlayerBytes() argument
[all …]
DMediaSyncTest.java702 int channelConfig = (mediaFormat.getInteger(MediaFormat.KEY_CHANNEL_COUNT) == 1 ? in getAudioTrack() local
707 channelConfig, in getAudioTrack()
710 final int frameSizeInBytes = Integer.bitCount(channelConfig) in getAudioTrack()
718 channelConfig, in getAudioTrack()
DAudioRecordTest.java703 int channelConfig, int audioFormat, int bufferSizeInBytes, in createAudioRecord() argument
708 audioSource, sampleRateInHz, channelConfig, in createAudioRecord()
713 .setChannelIndexMask(channelConfig) in createAudioRecord()
720 record = new AudioRecord(audioSource, sampleRateInHz, channelConfig, in createAudioRecord()
726 assertEquals(isChannelIndex ? channelConfig : AudioFormat.CHANNEL_INVALID, in createAudioRecord()
728 assertEquals(isChannelIndex ? AudioFormat.CHANNEL_INVALID : channelConfig, in createAudioRecord()
DAudioTrackTest.java2350 public MockAudioTrack(int streamType, int sampleRateInHz, int channelConfig, in MockAudioTrack() argument
2352 super(streamType, sampleRateInHz, channelConfig, audioFormat, bufferSizeInBytes, mode); in MockAudioTrack()