internal void Update()
 {
     if (GetQueuedSampleCount() > 0)
     {
         BufferReady.Invoke(this, EventArgs.Empty);
     }
 }
 internal void Update()
 {
     if (BufferReady != null)
     {
         int sampleCount = GetQueuedSampleCount();
         if (sampleCount > 0)
         {
             BufferReady.Invoke(this, sampleCount);
         }
     }
 }
Beispiel #3
0
 public int GetData(byte[] buffer, int offset, int count)
 {
     // Just to avoid warning on BufferReady, code to remove
     BufferReady?.Invoke(this, EventArgs.Empty);
     throw new NotImplementedException();
 }