public void QueueBuffer(AudioBuffer buffer) { _memoryManager.Fill(buffer.DataPointer, buffer.DataSize, 0); _manager.GetUpdateRequiredEvent().Set(); }
public ManualResetEvent GetUpdateRequiredEvent() { return(_realDriver.GetUpdateRequiredEvent()); }
public override void QueueBuffer(AudioBuffer buffer) { Interlocked.Add(ref _playedSampleCount, GetSampleCount(buffer)); _manager.GetUpdateRequiredEvent().Set(); }