Skip to content

fix: prevent hotkey recording hangs - #173

Merged
jatinkrmalik merged 1 commit into
mainfrom
jmalik/fix-audio-start-recovery
Jul 9, 2026
Merged

fix: prevent hotkey recording hangs#173
jatinkrmalik merged 1 commit into
mainfrom
jmalik/fix-audio-start-recovery

Conversation

@jatinkrmalik

Copy link
Copy Markdown
Member

Summary

  • move CoreAudio start/stop work off the main actor so hotkey handling stays responsive when the input device stalls
  • retry kAudioHardwareNotRunningError / stop once, avoid false device-change recovery callbacks on start failure, and log decoded CoreAudio codes
  • make sound effects fire from a background queue so NSSound delays cannot freeze recording flow

Testing

  • swift test: 222 tests, 0 failures, 2 environment skips

@github-actions github-actions Bot added the app label Jul 3, 2026
@jatinkrmalik

Copy link
Copy Markdown
Member Author

/build

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

PR Build started for f4cf4be

Build signed & notarized DMG... this usually takes 10–20 minutes.

Watch the build →

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

PR Build ready!

DMG VocaMac-0.7.0-pr.173+f4cf4be-arm64.dmg
Size 5.1M
Branch jmalik/fix-audio-start-recovery
Commit f4cf4be
Signed ✅ Developer ID
Notarized ✅ Apple

📥 Install

  1. Click the DMG link above to download
  2. Open the DMG and drag VocaMac to Applications (replace existing)
  3. Open VocaMac — No Gatekeeper warnings, no permission resets
SHA-256 checksum
8a994cf5d800b2824db8305fdf9899d9d4b3a68585289b96b4b2b12ea7137e5f  VocaMac-0.7.0-pr.173+f4cf4be-arm64.dmg

💡 Comment /build or /build-quick to rebuild.

@jatinkrmalik
jatinkrmalik force-pushed the jmalik/fix-audio-start-recovery branch from f4cf4be to 5c270ed Compare July 9, 2026 19:13
@jatinkrmalik
jatinkrmalik force-pushed the jmalik/fix-audio-start-recovery branch from 5c270ed to 82845aa Compare July 9, 2026 19:31
@jatinkrmalik
jatinkrmalik merged commit cfc8c1a into main Jul 9, 2026
3 checks passed
@jatinkrmalik
jatinkrmalik deleted the jmalik/fix-audio-start-recovery branch August 22, 2026 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant