Exemplo n.º 1
0
        private void WaitForAllBuffers()
        {
            WaveOutBuffer Buf = m_Buffers;

            while (Buf.NextBuffer != m_Buffers)
            {
                Buf.WaitFor();
                Buf = Buf.NextBuffer;
            }
        }
Exemplo n.º 2
0
 private void Advance()
 {
     m_CurrentBuffer = m_CurrentBuffer == null ? m_Buffers : m_CurrentBuffer.NextBuffer;
     m_CurrentBuffer.WaitFor();
 }