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

View File

@@ -1,3 +1,5 @@
//go:build windows
package audio
import (
@@ -11,8 +13,6 @@ import (
"github.com/moutend/go-wca/pkg/wca"
)
const captureFrameSamples = 960 // 20ms at 48kHz
// Capturer handles WASAPI audio capture from microphone
type Capturer struct {
client *wca.IAudioClient