Searched refs:channelConfig (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | NonBlockingAudioTrack.java | 51 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()
|
D | AudioTrackSurroundTest.java | 208 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 …]
|
D | MediaSyncTest.java | 706 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()
|
D | AudioRecordTest.java | 970 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()
|
D | AudioTrackTest.java | 3512 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/ |
D | AudioRecorderService.java | 48 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()
|