API reference
Method SetDucking
- Namespace
- DisCatSharp.Voice.Entities
- Assembly
- DisCatSharp.Voice.dll
SetDucking(bool, float)
Sets ducking state explicitly. Prefer pausing music entirely for overlays when possible (lowest latency).
public void SetDucking(bool enabled, float duckedGain = 0.2)