| 75 | } |
| 76 | |
| 77 | void CircleBuffer::flushBuffer() |
| 78 | { |
| 79 | EnterCriticalSection(&this->m_csCircleBuffer); |
| 80 | this->m_iInternalReadCursor = 0; |
| 81 | this->m_iInternalWriteCursor = 0; |
| 82 | LeaveCriticalSection(&this->m_csCircleBuffer); |
| 83 | } |
| 84 | |
| 85 | void CircleBuffer::writeBuffer(const void* pSourceBuffer, const unsigned int iNumBytes, int audioTime) |
| 86 | { |
nothing calls this directly
no outgoing calls
no test coverage detected