Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DStreamPlayer.java102 String framesPerBuffer = am.getProperty(AudioManager.PROPERTY_OUTPUT_FRAMES_PER_BUFFER); in calcNumBurstFrames() local
103 return Integer.parseInt(framesPerBuffer, 10); in calcNumBurstFrames()
/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.cpp472 const size_t framesPerBuffer = msecPerBuffer * sampleRate / 1000; in Java_android_media_cts_AudioRecordNative_nativeTest() local
475 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()
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackLatencyTest.java131 public int framesPerBuffer = 256; field in AudioTrackLatencyTest.TestSetup
139 mData = AudioHelper.createSineWavesShort(framesPerBuffer, in createTrack()