Home
last modified time | relevance | path

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

/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Daudio_buffer.h221 size_t framesToCopy = std::min(src.getFrameCount(), dst.getFrameCount()); in copyAudioBufferViewData() local
222 if (framesToCopy > 0) { in copyAudioBufferViewData()
223 memcpy(dst.getData(), src.getData(), framesToCopy * dst.getFrameSize()); in copyAudioBufferViewData()
225 if (dst.getFrameCount() > framesToCopy) { in copyAudioBufferViewData()
226 dst.getView(framesToCopy).clear(); in copyAudioBufferViewData()