Home
last modified time | relevance | path

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

/device/asus/fugu/libaudio/
DAudioOutput.cpp169 const size_t frameSize = audio_bytes_per_sample(format) * mChannelCnt; in pushSilence() local
170 const size_t writeSize = nFrames * frameSize; in pushSilence()
173 void *sbuf = calloc(nFrames, frameSize); in pushSilence()
405 const size_t frameSize = mChannelCnt * audio_bytes_per_sample(format); in processOneChunk() local
406 mFramesQueuedToDriver += len / frameSize; in processOneChunk()
DAudioStreamIn.cpp409 size_t frameSize = getFrameSize(); in readFrames_l() local
415 (framesWr * frameSize); in readFrames_l()
427 memcpy(static_cast<char*>(buffer) + (framesWr * frameSize), in readFrames_l()
429 buf.frame_count * frameSize); in readFrames_l()