Class FadingOptions
Fades around the player lifecycle, applied with SetFadingAsync(FadingOptions?, CancellationToken).
public sealed record FadingOptions : IEquatable<FadingOptions>
- Inheritance
-
FadingOptions
- Implements
- Inherited Members
Remarks
A sent chain replaces the whole configuration, sections left null fall back to no fade, same as FilterChain. NodeLink only.
Properties
Ducking
Speaking-detection ducking.
[JsonPropertyName("ducking")]
public DuckingOptions? Ducking { get; init; }
Property Value
Remarks
NodeLink only.
Enabled
Whether the fade chain is active.
[JsonPropertyName("enabled")]
public bool? Enabled { get; init; }
Property Value
- bool?
Remarks
Left null, the server stores the sections but keeps the chain disabled, only trackEnd still runs (scheduled before the enabled check), everything else is silently ignored. Set true to activate.
Pause
The fade applied when playback pauses.
[JsonPropertyName("pause")]
public FadeSection? Pause { get; init; }
Property Value
Resume
The fade applied when playback resumes.
[JsonPropertyName("resume")]
public FadeSection? Resume { get; init; }
Property Value
Seek
The fade applied when the position is sought.
[JsonPropertyName("seek")]
public FadeSection? Seek { get; init; }
Property Value
TrackEnd
The fade applied when a track ends.
[JsonPropertyName("trackEnd")]
public FadeSection? TrackEnd { get; init; }
Property Value
TrackStart
The fade applied when a track starts.
[JsonPropertyName("trackStart")]
public FadeSection? TrackStart { get; init; }
Property Value
TrackStop
The fade applied when the track is stopped.
[JsonPropertyName("trackStop")]
public FadeSection? TrackStop { get; init; }