Searched refs:samplesPerFrame (Results 1 – 2 of 2) sorted by relevance
122 public int samplesPerFrame = 2; field in AudioTrackLatencyTest.TestSetup137 samplesPerFrame, 1, amplitude); in createTrack()148 int smallBuffSizeInFrames = smallBufferSize / (samplesPerFrame * bytesPerSample); in createTrack()164 int framesWrittenTotal = samplesWrittenTotal / samplesPerFrame; in primeAudioTrack()181 int framesRemaining = samplesRemaining / samplesPerFrame; in writeSeconds()
74 public static short[] createSineWavesShort(int numFrames, int samplesPerFrame, in createSineWavesShort() argument76 final short[] data = new short[numFrames * samplesPerFrame]; in createSineWavesShort()80 for (int sampleIndex = 0; sampleIndex < samplesPerFrame; sampleIndex++) { in createSineWavesShort()