Home
last modified time | relevance | path

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

/device/asus/fugu/libaudio/
DAudioOutput.cpp149 void AudioOutput::adjustDelay(int32_t nFrames) { in adjustDelay() argument
153 if (nFrames >= 0) { in adjustDelay()
154 ALOGI("adjustDelay %s %d", getOutputName(), nFrames); in adjustDelay()
155 pushSilence(nFrames); in adjustDelay()
159 getOutputName(), nFrames); in adjustDelay()
163 void AudioOutput::pushSilence(uint32_t nFrames) in pushSilence() argument
165 if (nFrames == 0 || hasFatalError()) in pushSilence()
170 const size_t writeSize = nFrames * frameSize; in pushSilence()
173 void *sbuf = calloc(nFrames, frameSize); in pushSilence()
180 mFramesQueuedToDriver += nFrames; in pushSilence()
DAudioOutput.h69 void adjustDelay(int32_t nFrames);
111 void pushSilence(uint32_t nFrames);