Searched refs:framesPerBuffer (Results 1 – 3 of 3) sorted by relevance
384 const size_t framesPerBuffer = msecPerBuffer * sampleRate / 1000; in Java_android_media_cts_AudioTrackNative_nativeTest() local387 void *buffer = calloc(framesPerBuffer * numBuffers, frameSize); in Java_android_media_cts_AudioTrackNative_nativeTest()393 track.write((char *)buffer + i * (framesPerBuffer * frameSize), in Java_android_media_cts_AudioTrackNative_nativeTest()394 framesPerBuffer * frameSize); in Java_android_media_cts_AudioTrackNative_nativeTest()
445 const size_t framesPerBuffer = msecPerBuffer * sampleRate / 1000; in Java_android_media_cts_AudioRecordNative_nativeTest() local448 void *buffer = calloc(framesPerBuffer * numBuffers, frameSize); in Java_android_media_cts_AudioRecordNative_nativeTest()457 size_t size = framesPerBuffer * numBuffers * frameSize; in Java_android_media_cts_AudioRecordNative_nativeTest()
128 public int framesPerBuffer = 256; field in AudioTrackLatencyTest.TestSetup136 mData = AudioHelper.createSineWavesShort(framesPerBuffer, in createTrack()