Table of Contents

Method SetAudioStreamPaused

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

SetAudioStreamPaused(AudioStreamIdentifier, bool, TimeSpan)

Pauses/Unpauses the audio stream on the specified identifier.

public void SetAudioStreamPaused(AudioStreamIdentifier streamIdentifier, bool paused, TimeSpan fadeTime = default)

Parameters

streamIdentifier AudioStreamIdentifier

The stream identifier to pause/unpause.

paused bool

The new pause state.

fadeTime TimeSpan

The time to fade out/fade in before pausing/unpausing the stream.