Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DAudioTrackLatencyTest.java125 public int samplesPerFrame = 2; field in AudioTrackLatencyTest.TestSetup
140 samplesPerFrame, 1, amplitude); in createTrack()
151 int smallBuffSizeInFrames = smallBufferSize / (samplesPerFrame * bytesPerSample); in createTrack()
167 int framesWrittenTotal = samplesWrittenTotal / samplesPerFrame; in primeAudioTrack()
184 int framesRemaining = samplesRemaining / samplesPerFrame; in writeSeconds()
DAudioHelper.java103 public static short[] createSineWavesShort(int numFrames, int samplesPerFrame, in createSineWavesShort() argument
105 final short[] data = new short[numFrames * samplesPerFrame]; in createSineWavesShort()
109 for (int sampleIndex = 0; sampleIndex < samplesPerFrame; sampleIndex++) { in createSineWavesShort()