Skip to main content

Module settings

Module settings 

Source
Expand description

The voice processing switches and the two call volumes: read live by the capture thread and the mixer, so a change lands mid-call; persisted per account.

Structs§

AudioSettings
MicState
Your microphone and speakers as you left them, one switch for every call: a voice channel or a DM call starts this way, and muting or deafening in either carries to the next.

Functions§

current
What the capture thread applies right now.
heard
What a call plays at volume: nothing while deafened.
load
Loads the account’s saved settings into the live values; defaults when unset.
mic_gain
mic_state
remember_mic
Remember the switches for the calls that follow; the UI hears of a change wherever it was made.
set
Applies at once and remembers for next time.
speaker_gain