Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DAudioRecordTest.java497 final int bytesPerSample = AudioFormat.getBytesPerSample(RECORD_ENCODING); in testTimestamp() local
498 final int bytesPerFrame = numChannels * bytesPerSample; in testTimestamp()
646 final int bytesPerSample = AudioFormat.getBytesPerSample(RECORD_ENCODING); in testSynchronizedRecord() local
647 final int bytesPerFrame = numChannels * bytesPerSample; in testSynchronizedRecord()
834 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in doTest() local
835 final int bytesPerFrame = numChannels * bytesPerSample; in doTest()
847 ByteBuffer.allocateDirect(BUFFER_SAMPLES * bytesPerSample); in doTest()
853 amount *= bytesPerSample; // in bytes in doTest()
878 samplesRead += ret / bytesPerSample; in doTest()
DAudioTrack_ListenerTest.java157 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in doTest() local
158 final int bytesPerFrame = numChannels * bytesPerSample; in doTest()
DAudioTrackLatencyTest.java123 public int bytesPerSample = 2; field in AudioTrackLatencyTest.TestSetup
148 int smallBuffSizeInFrames = smallBufferSize / (samplesPerFrame * bytesPerSample); in createTrack()
DAudioTrackTest.java2108 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in testVariableRatePlayback() local
2109 final int bytesPerFrame = numChannels * bytesPerSample; in testVariableRatePlayback()