Fix listening practice crash on Start Speaking #16

Merged
admin merged 1 commits from fix/listening-crash into main 2026-04-13 18:45:29 -05:00

1 Commits

Author SHA1 Message Date
Trey t
5944f263cd Fix listening practice crash when tapping Start Speaking
Wrap startRecording in do/catch so audio setup failures don't crash.
Validate recording format has channels before installTap. Use
DispatchQueue.main.async instead of Task{@MainActor} in recognition
callback to avoid dispatch queue assertions.

Closes #13

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 18:45:05 -05:00