diff --git a/VoiceInk/Recorder.swift b/VoiceInk/Recorder.swift index 55262ac..205bede 100644 --- a/VoiceInk/Recorder.swift +++ b/VoiceInk/Recorder.swift @@ -70,8 +70,10 @@ class Recorder: ObservableObject { if deviceID != 0 { do { try await configureAudioSession(with: deviceID) + try? await Task.sleep(nanoseconds: 200_000_000) } catch { logger.warning("⚠️ Failed to configure audio session for device \(deviceID), attempting to continue: \(error.localizedDescription)") + try? await Task.sleep(nanoseconds: 100_000_000) } }