Automatic gain control was always on with no way to turn it off. Toggle it with F12, the /agc command, or the agc FIFO command, and persist the choice in the configuration file the same way noise suppression does. AgcEnabled defaults to true so existing setups keep their current behavior, and the saved value is applied to the stream on connect. The enabled flag becomes an atomic.Bool because the capture goroutine reads it while the UI goroutine writes it, and the lazily created right channel AGC now inherits the left channel's state. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
26 lines
704 B
Go
26 lines
704 B
Go
package config
|
|
|
|
import (
|
|
"git.stormux.org/storm/barnard/uiterm"
|
|
)
|
|
|
|
type Hotkeys struct {
|
|
Talk *uiterm.Key
|
|
VolumeDown *uiterm.Key
|
|
VolumeUp *uiterm.Key
|
|
VolumeReset *uiterm.Key
|
|
MuteToggle *uiterm.Key
|
|
RecordToggle *uiterm.Key
|
|
Exit *uiterm.Key
|
|
ToggleTimestamps *uiterm.Key
|
|
SwitchViews *uiterm.Key
|
|
ClearOutput *uiterm.Key
|
|
ScrollUp *uiterm.Key
|
|
ScrollDown *uiterm.Key
|
|
ScrollToTop *uiterm.Key
|
|
ScrollToBottom *uiterm.Key
|
|
AdminMenu *uiterm.Key
|
|
NoiseSuppressionToggle *uiterm.Key
|
|
AGCToggle *uiterm.Key
|
|
}
|