Fixed typing mistake causing process crashes.

This commit is contained in:
root
2009-03-02 20:48:27 +01:00
parent c8e4d3f918
commit 9f25eadc48

View File

@@ -400,7 +400,7 @@ status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, int32_t waitCount)
uint32_t u = cblk->user;
uint32_t bufferEnd = cblk->userBase + cblk->frameCount;
if (u + framesReady > bufferEnd) {
if (u + framesReq > bufferEnd) {
framesReq = bufferEnd - u;
}