Home
last modified time | relevance | path

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

/cts/tests/tests/media/libaudiojni/
Daudio-track-native.cpp384 const size_t framesPerBuffer = msecPerBuffer * sampleRate / 1000; in Java_android_media_cts_AudioTrackNative_nativeTest() local
387 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()
Daudio-record-native.cpp445 const size_t framesPerBuffer = msecPerBuffer * sampleRate / 1000; in Java_android_media_cts_AudioRecordNative_nativeTest() local
448 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()
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackLatencyTest.java128 public int framesPerBuffer = 256; field in AudioTrackLatencyTest.TestSetup
136 mData = AudioHelper.createSineWavesShort(framesPerBuffer, in createTrack()