Searched refs:bytesPerSample (Results 1 – 4 of 4) sorted by relevance
555 final int bytesPerSample = AudioFormat.getBytesPerSample(RECORD_ENCODING); in testTimestamp() local556 final int bytesPerFrame = numChannels * bytesPerSample; in testTimestamp()777 final int bytesPerSample = AudioFormat.getBytesPerSample(RECORD_ENCODING); in testSynchronizedRecord() local778 final int bytesPerFrame = numChannels * bytesPerSample; in testSynchronizedRecord()1163 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in doTest() local1164 final int bytesPerFrame = numChannels * bytesPerSample; in doTest()1176 ByteBuffer.allocateDirect(BUFFER_SAMPLES * bytesPerSample); in doTest()1182 amount *= bytesPerSample; // in bytes in doTest()1207 samplesRead += ret / bytesPerSample; in doTest()
157 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in doTest() local158 final int bytesPerFrame = numChannels * bytesPerSample; in doTest()
126 public int bytesPerSample = 2; field in AudioTrackLatencyTest.TestSetup151 int smallBuffSizeInFrames = smallBufferSize / (samplesPerFrame * bytesPerSample); in createTrack()
2245 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in testVariableRatePlayback() local2246 final int bytesPerFrame = numChannels * bytesPerSample; in testVariableRatePlayback()2312 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in testStopDrain() local2313 final int bytesPerFrame = channelCount * bytesPerSample; in testStopDrain()