Exemplo n.º 1
0
 public void Reset()
 {
     if (_isInitialized)
     {
         Marshal.ThrowExceptionForHR(_RealClient.Reset());
     }
 }
Exemplo n.º 2
0
        public void Reset()
        {
            int error = AudioClient.Reset();

            if (error != 0)
            {
                Win32Platform.CheckError($"Couldn't reset a layer context of device {Parent.Name}.", true);
            }
            Initialized = false;
        }
Exemplo n.º 3
0
 /// <summary>
 /// Resets the audio stream
 /// Reset is a control method that the client calls to reset a stopped audio stream.
 /// Resetting the stream flushes all pending data and resets the audio clock stream
 /// position to 0. This method fails if it is called on a stream that is not stopped
 /// </summary>
 public void Reset()
 {
     audioClientInterface.Reset();
 }
Exemplo n.º 4
0
 public void Reset()
 {
     _realAudioClient.Reset();
 }