Skip to content

feat(coreaudio): macOS tuner and tone on CoreAudio, no JACK - #4

Merged
squatchlr merged 1 commit into
mainfrom
feat/coreaudio-host
Oct 16, 2026
Merged

squatchlr merged 1 commit into
mainfrom
feat/coreaudio-host

Conversation

@squatchlr

Copy link
Copy Markdown
Collaborator

Fixes the v1.0.1 macOS CLI needing Homebrew JACK. make live builds CoreAudio on macOS, JACK elsewhere. cli-macos drops brew jack and fails if a binary links a non-system library; signing uses the audio-input entitlement; CI builds the macOS host. Over 1000 lines because the shared tuner code moved into hosts/common (exported from squatch-dsp; merge that PR first). Tests: make test, make lint.

make live builds hosts/coreaudio on macOS and hosts/jack elsewhere (LIVE_BACKEND overrides), so squatch-tuner-live and squatch-tone start on a Mac with nothing installed. They take the JACK host's options and print its JSON lines, plus --device NAME and --list-devices, and link system frameworks only.

The release workflow's cli-macos job no longer installs JACK, fails if a binary links anything outside /System and /usr/lib, and signs with the audio-input entitlement instead of disabling library validation. CI builds the CoreAudio host on macOS for every push, and make test runs test_host_audio, which sends a test tone through the host's callback body with no audio device.
@squatchlr squatchlr added the large-change Over 1000 changed lines, with the reason in the PR description label Oct 16, 2026
@squatchlr squatchlr closed this Oct 16, 2026
@squatchlr squatchlr reopened this Oct 16, 2026
@squatchlr
squatchlr merged commit d9995e1 into main Oct 16, 2026
13 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

large-change Over 1000 changed lines, with the reason in the PR description

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant