Table of Contents

Property FadeDuration

Namespace
Bonsai.Mixer
Assembly
Bonsai.Mixer.dll

FadeDuration

Gets or sets the duration of the fade-out, in seconds.

public double FadeDuration { get; set; }

Property Value

double

Remarks

The default of 20 milliseconds keeps the stop smooth, since very short fades can produce audible clipping. A duration of zero stops playback immediately.