Exemplo n.º 1
0
        public void QueueBuffer(AudioBuffer buffer)
        {
            _memoryManager.Fill(buffer.DataPointer, buffer.DataSize, 0);

            _manager.GetUpdateRequiredEvent().Set();
        }
Exemplo n.º 2
0
 public ManualResetEvent GetUpdateRequiredEvent()
 {
     return(_realDriver.GetUpdateRequiredEvent());
 }
        public override void QueueBuffer(AudioBuffer buffer)
        {
            Interlocked.Add(ref _playedSampleCount, GetSampleCount(buffer));

            _manager.GetUpdateRequiredEvent().Set();
        }