Searched refs:samplesPerFrame (Results 1 – 2 of 2) sorted by relevance
125 public int samplesPerFrame = 2; field in AudioTrackLatencyTest.TestSetup140 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()
103 public static short[] createSineWavesShort(int numFrames, int samplesPerFrame, in createSineWavesShort() argument105 final short[] data = new short[numFrames * samplesPerFrame]; in createSineWavesShort()109 for (int sampleIndex = 0; sampleIndex < samplesPerFrame; sampleIndex++) { in createSineWavesShort()