feat: full WSL2 audio support and Windows audio stability fix

This commit is contained in:
Jose Luis Montañes Ojados
2026-01-17 01:38:13 +01:00
parent c1bb24473e
commit c81f64d9ca
12 changed files with 492 additions and 75 deletions

13
pkg/audio/common.go Normal file
View File

@@ -0,0 +1,13 @@
package audio
// Shared constants
const (
frameSamples = 960 // 20ms at 48kHz
captureFrameSamples = 960 // 20ms at 48kHz
)
// UserSettings represents per-user audio configuration
type UserSettings struct {
Volume float32 // 0.0 - 1.0 (or higher for boost)
Muted bool
}