Searched refs:audioFormat (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | NonBlockingAudioTrack.java | 87 AudioFormat audioFormat = (new AudioFormat.Builder()) in NonBlockingAudioTrack() local 92 mAudioTrack = new AudioTrack(audioAttributes, audioFormat, bufferSize, in NonBlockingAudioTrack()
|
D | MediaSyncTest.java | 644 int audioFormat = AudioFormat.ENCODING_PCM_16BIT; in getAudioTrack() local 648 audioFormat); in getAudioTrack() 651 * AudioFormat.getBytesPerSample(audioFormat); in getAudioTrack() 659 audioFormat, in getAudioTrack()
|
D | AudioRecordTest.java | 602 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()
|
D | AudioTrackTest.java | 2277 int audioFormat, int bufferSizeInBytes, int mode) throws IllegalArgumentException { in MockAudioTrack() argument 2278 super(streamType, sampleRateInHz, channelConfig, audioFormat, bufferSizeInBytes, mode); in MockAudioTrack()
|