Home
last modified time | relevance | path

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

/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio.cpp54 int32_t framesPerBurst() const { return mHelper->framesPerBurst(); } in framesPerBurst() function in AAudioStreamTest
221 mFramesPerRead = framesPerBurst(); in SetUp()
379 allocateDataBuffer(framesPerBurst()); in SetUp()
386 std::min(framesPerBurst(), framesLeft), timeoutNanos); in processData()
401 stream(), getDataBuffer(), framesPerBurst(), timeoutNanos); in TEST_P()
405 ASSERT_LE(framesWritten, framesPerBurst()); in TEST_P()
423 writeLoops = 1 * actual().sampleRate / framesPerBurst(); // 1 second in TEST_P()
425 timeoutNanos = 100 * (NANOS_PER_SECOND * framesPerBurst() / in TEST_P()
433 stream(), getDataBuffer(), framesPerBurst(), timeoutNanos); in TEST_P()
434 EXPECT_EQ(framesPerBurst(), framesWritten); in TEST_P()
[all …]
Dtest_aaudio_callback.cpp252 const int32_t framesPerBurst = AAudioStream_getFramesPerBurst(stream()); in TEST_P() local
254 : (framesPerBurst + streamFramesPerDataCallback - 1) / streamFramesPerDataCallback; in TEST_P()
431 const int32_t framesPerBurst = AAudioStream_getFramesPerBurst(stream()); in TEST_P() local
433 : (framesPerBurst + streamFramesPerDataCallback - 1) / streamFramesPerDataCallback; in TEST_P()
Dutils.h89 int32_t framesPerBurst() const { return mFramesPerBurst; } in framesPerBurst() function