2026-01-17 01:38:13 +01:00
|
|
|
package audio
|
|
|
|
|
|
|
|
|
|
// Shared constants
|
|
|
|
|
const (
|
|
|
|
|
frameSamples = 960 // 20ms at 48kHz
|
|
|
|
|
captureFrameSamples = 960 // 20ms at 48kHz
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// UserSettings represents per-user audio configuration
|
|
|
|
|
type UserSettings struct {
|
2026-01-17 20:25:58 +01:00
|
|
|
Volume float32 // 0.0 - 1.0 (or higher for boost)
|
|
|
|
|
Muted bool
|
|
|
|
|
Gains []float64 // 5-band Equalizer Gains in dB
|
|
|
|
|
EQBands []float64
|
2026-01-17 01:38:13 +01:00
|
|
|
}
|