From 6d4fe20acf25a2d0a585dc89286439aaedc7aace Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Fri, 14 Nov 2025 18:34:39 -0600 Subject: fix(recording): Fix phone call audio capture with amix filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Phone calls were not capturing the remote person's voice due to severe volume loss (44 dB) when using the amerge+pan FFmpeg filter combination. Changes: - Replace amerge+pan with amix filter (provides 44 dB volume improvement) - Increase default system volume from 0.5 to 2.0 for better capture levels - Add diagnostic tool to show active audio playback (C-; r w) - Add integration test with real voice recording - Fix batch mode compatibility for test execution The amix filter properly mixes microphone and system monitor inputs without the massive volume loss that amerge+pan caused. Verified with automated integration test showing perfect transcription of test audio. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- modules/transcription-config.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/transcription-config.el') diff --git a/modules/transcription-config.el b/modules/transcription-config.el index 530522de..5349ade0 100644 --- a/modules/transcription-config.el +++ b/modules/transcription-config.el @@ -380,7 +380,10 @@ Prompts with completing-read to select from available backends." "b" #'cj/transcription-switch-backend "v" #'cj/transcriptions-buffer "k" #'cj/transcription-kill) -(keymap-set cj/custom-keymap "T" cj/transcribe-map) + +;; Only set keybinding if cj/custom-keymap is bound (not in batch mode) +(when (boundp 'cj/custom-keymap) + (keymap-set cj/custom-keymap "T" cj/transcribe-map)) (with-eval-after-load 'which-key (which-key-add-key-based-replacements -- cgit v1.2.3