Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix: restore NSAudioCaptureUsageDescription and increase probe timeout

Gabriel Stein0eb9310326a4
diff --git a/electron-builder.json b/electron-builder.json
index fa11438bd..e743b9309 100644
--- a/electron-builder.json
+++ b/electron-builder.json
@@ -125,7 +125,7 @@
"extendInfo": {
"LSUIElement": false,
"NSMicrophoneUsageDescription": "OpenWhispr uses the microphone to capture your voice for transcription.",
- "NSScreenCaptureUsageDescription": "OpenWhispr uses system audio to capture other participants' audio from calls and meetings. Your screen is never recorded.",
+ "NSAudioCaptureUsageDescription": "OpenWhispr uses system audio to capture other participants' audio from calls and meetings. Your screen is never recorded.",
"NSAccessibilityUsageDescription": "OpenWhispr needs accessibility permissions to paste transcribed text into other applications."
}
},
diff --git a/src/helpers/audioTapManager.js b/src/helpers/audioTapManager.js
index 25f7950cd..29e797282 100644
--- a/src/helpers/audioTapManager.js
+++ b/src/helpers/audioTapManager.js
@@ -11,7 +11,7 @@ const ARCH_CPU_TYPE = {
const DEFAULT_SAMPLE_RATE = 24000;
const DEFAULT_CHUNK_MS = 100;
const START_TIMEOUT_MS = 3000;
-const REQUEST_TIMEOUT_MS = 15000;
+const REQUEST_TIMEOUT_MS = 60000;
const STOP_TIMEOUT_MS = 5000;
function compareVersions(left, right) {
diff --git a/src/helpers/ipcHandlers.js b/src/helpers/ipcHandlers.js
index 8986e024e..754899242 100644
--- a/src/helpers/ipcHandlers.js
+++ b/src/helpers/ipcHandlers.js
@@ -2090,7 +2090,7 @@ class IPCHandlers {
return { granted: true, status: "granted", mode: "native" };
}
- // Probe the binary — triggers ScreenCaptureKit's native consent dialog on macOS 15+
+ // Probe the binary — AudioHardwareCreateProcessTap triggers the native consent dialog
try {
const result = await this.audioTapManager.requestAccess();
if (result.granted) {