Home
last modified time | relevance | path

Searched refs:samplesPerFrame (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrackLatencyTest.java175 public int samplesPerFrame = 2; field in AudioTrackLatencyTest.TestSetup
190 samplesPerFrame, 1, amplitude); in createTrack()
201 int smallBuffSizeInFrames = smallBufferSize / (samplesPerFrame * bytesPerSample); in createTrack()
217 int framesWrittenTotal = samplesWrittenTotal / samplesPerFrame; in primeAudioTrack()
234 int framesRemaining = samplesRemaining / samplesPerFrame; in writeSeconds()
/cts/tests/tests/media/common/src/android/media/cts/
DAudioHelper.java202 public static short[] createSineWavesShort(int numFrames, int samplesPerFrame, in createSineWavesShort() argument
204 final short[] data = new short[numFrames * samplesPerFrame]; in createSineWavesShort()
208 for (int sampleIndex = 0; sampleIndex < samplesPerFrame; sampleIndex++) { in createSineWavesShort()