Table of Contents

Method Stop

Namespace
Bonsai.Mixer
Assembly
Bonsai.Mixer.dll

Stop(double)

Stops playback of the source, fading the gain to silence over the specified duration before the source is removed from the mixer.

public void Stop(double fadeDuration)

Parameters

fadeDuration double

The length of the fade-out, in seconds. A duration of zero stops playback immediately.