Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/jni/audio_loopback/
Dsles.cpp102 if (framesToErase > pSles->bufSizeInFrames) { in recorderCallback()
103 framesToErase = pSles->bufSizeInFrames; in recorderCallback()
111 (size_t) pSles->bufSizeInFrames); in recorderCallback()
112 if (actual != (ssize_t) pSles->bufSizeInFrames) { in recorderCallback()
121 (size_t) pSles->bufSizeInFrames); in recorderCallback()
122 if (actual != (ssize_t) pSles->bufSizeInFrames) { in recorderCallback()
170 ssize_t actual = audio_utils_fifo_read(&(pSles->fifo), buffer, pSles->bufSizeInFrames); in playerCallback()
171 if (actual != (ssize_t) pSles->bufSizeInFrames) { in playerCallback()
174 memset(buffer, 0, pSles->bufSizeInFrames * pSles->channels * sizeof(short)); in playerCallback()
182 for (unsigned i = 0; i < pSles->bufSizeInFrames / 8; i += 8) { in playerCallback()
[all …]
Dsles.h37 SLuint32 bufSizeInFrames; // -f# member