public void Reset() { if (_isInitialized) { Marshal.ThrowExceptionForHR(_RealClient.Reset()); } }
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; }
/// <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(); }
public void Reset() { _realAudioClient.Reset(); }