Searched refs:bytesPerSample (Results 1 – 4 of 4) sorted by relevance
497 final int bytesPerSample = AudioFormat.getBytesPerSample(RECORD_ENCODING); in testTimestamp() local498 final int bytesPerFrame = numChannels * bytesPerSample; in testTimestamp()646 final int bytesPerSample = AudioFormat.getBytesPerSample(RECORD_ENCODING); in testSynchronizedRecord() local647 final int bytesPerFrame = numChannels * bytesPerSample; in testSynchronizedRecord()834 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in doTest() local835 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()
157 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in doTest() local158 final int bytesPerFrame = numChannels * bytesPerSample; in doTest()
123 public int bytesPerSample = 2; field in AudioTrackLatencyTest.TestSetup148 int smallBuffSizeInFrames = smallBufferSize / (samplesPerFrame * bytesPerSample); in createTrack()
2108 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in testVariableRatePlayback() local2109 final int bytesPerFrame = numChannels * bytesPerSample; in testVariableRatePlayback()