Skip to content

👻 : Add Support For Use of Apple's New API - Core Audio Tap API CATap - #10577

Merged
mitchellh merged 1 commit into
ghostty-org:mainfrom
Bug-Reaper:bug-reaper/core-audio-tap-api
Feb 5, 2026
Merged

mitchellh merged 1 commit into
ghostty-org:mainfrom
Bug-Reaper:bug-reaper/core-audio-tap-api

Conversation

@Bug-Reaper

@Bug-Reaper Bug-Reaper commented Feb 5, 2026 •

Copy link
Copy Markdown
Contributor

Core Audio Tap API

There's a new NS permission needed for macos (>14.x) to capture system audio with the Core Audio Tap API. Previously desktop-audio capture was handled by a different permissions API with GUI & preferences. Both APIs continue to exist but this newer one has a NS permission we should include. The "geniuses" have spoken and this API doesn't have public methods for querying the permissions state. As a strong side-effect of this "feature", failures due to lack of NS permissions are likely to be handled poorly by software makers.


I've spent the last 5 days reviewing C++/Objective-C Chromium source to hone in on why my DesktopAudioCapture broke on an electron version update. It is in-fact chromium started using this new Core Audio Tap API and has no fallback to the old API if the new one fails.

Should be your easiest code-review of the week. Shoutout to the maintainers/creator, big fan of this Zig based terminal with good shader support.

[Reference](https://github.com/insidegui/AudioCap). This is Apple's latest system for allowing apps to access loopback audio streams eg: Desktop-Audio, Window-Audio, etc...
@Bug-Reaper
Bug-Reaper requested a review from a team as a code owner February 5, 2026 06:10
@mitchellh mitchellh added this to the 1.3.0 milestone Feb 5, 2026
@mitchellh

Copy link
Copy Markdown
Contributor

Awesome yep thank you!

@mitchellh
mitchellh merged commit 6d3c7ba into ghostty-org:main Feb 5, 2026
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants