Skip to content

Enable VSCode To Run CoreAudio Tap API Apps [MacOS] - #293042

Closed
Bug-Reaper wants to merge 1 commit into
microsoft:mainfrom
Bug-Reaper:bug-reaper/CoreAudioTapAPI
Closed

Bug-Reaper wants to merge 1 commit into
microsoft:mainfrom
Bug-Reaper:bug-reaper/CoreAudioTapAPI

Conversation

@Bug-Reaper

Copy link
Copy Markdown
Contributor

Apple kinda quietly released a new API for doing native audio-capture and then didn't communicate well down-stream that a new info.plist permission NSAudioCaptureUsageDescription is required to use the new API:

🍎 : CoreAudio Tap API Reference

This is especially pertinent to apps like IDEs and Terminals which have users running their own code underneath. This is a simple PR to add the correct info.plist permission so VSCode developers will not experience issues when using the newer macOS audio capture API.

Similar to how we add NSMicrophoneUsageDescription, NSCameraUsageDescription so people's apps running from VSCode's terminal can request camera/microphone. The added NSAudioCaptureUsageDescription does the same thing but for audio capture with the new API introduced by apple.

Should be easy to confirm by:

  1. Build the app
  2. Right click the final .App artifact > Show Package Contents
  3. Examine the info.plist file and confirm NSAudioCaptureUsageDescription is present.

Big apps like google are using this new CoreAudio Tap API (sometimes referred to as catap in chromium repos) turned on as the default . Developers using VSCode to run their apps are probably soon to follow.

I actually discovered this new system when my audio-capture broke in electron from a tangential issue. I guess as a music visualizer dev, this is my moment to contribute something to the FOSS community ;-)

Relevant Issue

Cheers and let me know if you have questions!

@deepak1556 Robo (deepak1556) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@deepak1556
Robo (deepak1556) enabled auto-merge (squash) February 5, 2026 18:03
@connor4312

Copy link
Copy Markdown
Member

Robo (@deepak1556) red CI, you may need to re-submit

auto-merge was automatically disabled February 5, 2026 18:19

Pull Request is not mergeable

@deepak1556

Copy link
Copy Markdown
Collaborator

Bug-Reaper our checks disallow changes to some restricted folders from external contributors. I have ported your change in #293215 and your contribution will be credited in our release notes. Thanks again!

@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Mar 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants