feat: sync force-quit Flow teardown and polish macOS local ASR UX
End Live Activities and release the audio session synchronously on applicationWillTerminate, and continue macOS local-model install, onboarding, and settings polish on this branch.
This commit is contained in:
@@ -49,6 +49,14 @@ enum MacSherpaLocalASR {
|
||||
layout: layout,
|
||||
runtimeBinary: binary
|
||||
)
|
||||
case .sherpaParaformer:
|
||||
return try await MacSherpaONNXRunner.transcribeParaformer(
|
||||
samples: samples,
|
||||
sampleRate: sampleRate,
|
||||
modelRoot: modelRoot,
|
||||
layout: layout,
|
||||
runtimeBinary: binary
|
||||
)
|
||||
default:
|
||||
throw MacLocalASRError.qwen3InferenceFailed("Unsupported Sherpa backend")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user