Menu

1 / 3

Per-app volume on macOS without an audio driver

DEV Community: swift·Zernonia·6 days ago
#m8zvuVur
#devtoswift#devto#dev#process#device
Long article (2032 words) — no AI summary yet.
Reading 0:00
15s threshold

macOS still ships with exactly one volume slider. If Slack's notification ping is louder than the call you're on, your options are to turn everything down or go dig for a setting inside Slack.

For years, fixing that meant installing a virtual audio device that all of your sound flows through. While building Stat Space, a menu bar system monitor for Apple Silicon, I wanted a volume mixer that installs nothing and costs nothing when you're not using it. Since macOS 14.2 that's possible with public API: Core Audio process taps. This post is how they work, how I used them, and the parts the docs don't mention.

Who's playing, with no permission at all

Before touching anyone's audio, you need to know which apps are using it. Core Audio exposes every client process as an audio object.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.