public int Read(byte[] buffer, int offset, int count)
        {
            _mixer.Read(buffer, offset, count);
            if (!Enabled)
            {
                Array.Clear(buffer, offset, count);
            }

            lock (this)
            {
                _writer?.Write(buffer, offset, count);
            }
            return(count);
        }
Beispiel #2
0
 public int Read(byte[] buffer, int offset, int count)
 {
     _mixer.Read(buffer, offset, count);
     return(count);
 }