Method SetAudioStreamPaused
SetAudioStreamPaused(AudioStreamIdentifier, bool, TimeSpan)
Pauses/Unpauses the audio stream on the specified identifier.
public void SetAudioStreamPaused(AudioStreamIdentifier streamIdentifier, bool paused, TimeSpan fadeTime = default)
Parameters
streamIdentifierAudioStreamIdentifierThe stream identifier to pause/unpause.
pausedboolThe new pause state.
fadeTimeTimeSpanThe time to fade out/fade in before pausing/unpausing the stream.