feat: Linux support, AMD ROCm, Whisper Turbo, and spawn fix

Cherry-picked and adapted from PR #89 and #214:

- Linux audio capture via PulseAudio/PipeWire monitor sources (cpal)
- AMD ROCm GPU support: HSA_OVERRIDE_GFX_VERSION env var, ROCm detection
- Whisper Turbo model (openai/whisper-large-v3-turbo) in all endpoints
- Cleaner Whisper language handling via generate_kwargs
- tauri::async_runtime::spawn fix to prevent panic on app shutdown
- Enable Linux (ubuntu-22.04) in release CI matrix
This commit is contained in:
James Pine
2026-03-13 03:35:18 -07:00
parent 3e6513c0fb
commit b5801891b8
5 changed files with 349 additions and 18 deletions
+3 -1
View File
@@ -792,7 +792,9 @@ pub fn run() {
});
// Wait for frontend response or timeout
tokio::spawn(async move {
// Use tauri::async_runtime::spawn instead of tokio::spawn to avoid
// panics when the Tokio runtime is being dropped during app shutdown
tauri::async_runtime::spawn(async move {
tokio::select! {
_ = rx.recv() => {
// Frontend responded, close window