Pause playback while transmitting and declare microphone use.

macOS refuses capture without a usage string, and queued remote audio was still handed to the speaker after push-to-talk began.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Konrad Neitzel
2026-10-03 16:32:01 +02:00
co-authored by Cursor
parent 9c4f6621fc
commit 6233292931
9 changed files with 44 additions and 15 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ func (a *App) startup(ctx context.Context) {
a.station.Fail("could not open the audio device")
return
}
go func() { _ = a.station.Run(runCtx) }()
go func() { _ = a.station.Run(runCtx) }() // Run returns when the window closes.
}
func (a *App) shutdown(context.Context) {