Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DNonBlockingAudioTrack.java87 AudioFormat audioFormat = (new AudioFormat.Builder()) in NonBlockingAudioTrack() local
92 mAudioTrack = new AudioTrack(audioAttributes, audioFormat, bufferSize, in NonBlockingAudioTrack()
DMediaSyncTest.java644 int audioFormat = AudioFormat.ENCODING_PCM_16BIT; in getAudioTrack() local
648 audioFormat); in getAudioTrack()
651 * AudioFormat.getBytesPerSample(audioFormat); in getAudioTrack()
659 audioFormat, in getAudioTrack()
DAudioRecordTest.java602 int channelConfig, int audioFormat, int bufferSizeInBytes, in createAudioRecord() argument
608 audioFormat, bufferSizeInBytes, isChannelIndex); in createAudioRecord()
613 .setEncoding(audioFormat) in createAudioRecord()
620 audioFormat, bufferSizeInBytes); in createAudioRecord()
629 assertEquals(audioFormat, format.getEncoding()); in createAudioRecord()
632 format.getChannelCount() * AudioFormat.getBytesPerSample(audioFormat); in createAudioRecord()
DAudioTrackTest.java2277 int audioFormat, int bufferSizeInBytes, int mode) throws IllegalArgumentException { in MockAudioTrack() argument
2278 super(streamType, sampleRateInHz, channelConfig, audioFormat, bufferSizeInBytes, mode); in MockAudioTrack()