Home
last modified time | relevance | path

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

/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Dloopback_test.cpp63 ssize_t actualFrames = audio_utils_fifo_read( in collectRecording() local
65 if (actualFrames <= 0) break; in collectRecording()
66 AudioBufferView<double> dst = buffer.getView(framesRead, actualFrames); in collectRecording()
68 framesRead += actualFrames; in collectRecording()
75 ssize_t actualFrames = in receiveRecording() local
77 if (actualFrames >= 0 && static_cast<size_t>(actualFrames) != framesRead) { in receiveRecording()
79 (long long)framesRead, (long long)actualFrames); in receiveRecording()
80 } else if (actualFrames < 0) { in receiveRecording()
81 ALOGW("pipe write returned negative value: %lld", (long long)actualFrames); in receiveRecording()