Home
last modified time | relevance | path

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

/cts/tests/tests/media/libaudiojni/
Daudio-track-native.cpp385 const size_t framesPerBuffer = msecPerBuffer * sampleRate / 1000; in Java_android_media_cts_AudioTrackNative_nativeTest() local
388 void *buffer = calloc(framesPerBuffer * numBuffers, frameSize); in Java_android_media_cts_AudioTrackNative_nativeTest()
394 track.write((char *)buffer + i * (framesPerBuffer * frameSize), in Java_android_media_cts_AudioTrackNative_nativeTest()
395 framesPerBuffer * frameSize); in Java_android_media_cts_AudioTrackNative_nativeTest()
Daudio-record-native.cpp443 const size_t framesPerBuffer = msecPerBuffer * sampleRate / 1000; in Java_android_media_cts_AudioRecordNative_nativeTest() local
446 void *buffer = calloc(framesPerBuffer * numBuffers, frameSize); in Java_android_media_cts_AudioRecordNative_nativeTest()
455 size_t size = framesPerBuffer * numBuffers * frameSize; in Java_android_media_cts_AudioRecordNative_nativeTest()