Searched refs:framesPerBuffer (Results 1 – 4 of 4) sorted by relevance
102 String framesPerBuffer = am.getProperty(AudioManager.PROPERTY_OUTPUT_FRAMES_PER_BUFFER); in calcNumBurstFrames() local103 return Integer.parseInt(framesPerBuffer, 10); in calcNumBurstFrames()
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()
472 const size_t framesPerBuffer = msecPerBuffer * sampleRate / 1000; in Java_android_media_cts_AudioRecordNative_nativeTest() local475 void *buffer = calloc(framesPerBuffer * numBuffers, frameSize); in Java_android_media_cts_AudioRecordNative_nativeTest()484 size_t size = framesPerBuffer * numBuffers * frameSize; in Java_android_media_cts_AudioRecordNative_nativeTest()
131 public int framesPerBuffer = 256; field in AudioTrackLatencyTest.TestSetup139 mData = AudioHelper.createSineWavesShort(framesPerBuffer, in createTrack()