Skip to content

Keep the mic meter off for sink captures and AUX-only sources - #19

Merged
ssupt merged 2 commits into
ssupt:mainfrom
SotoAugusto:fix/mic-meter-sink-capture
Sep 30, 2026
Merged

ssupt merged 2 commits into
ssupt:mainfrom
SotoAugusto:fix/mic-meter-sink-capture

Conversation

@SotoAugusto

@SotoAugusto SotoAugusto commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #18.

Sink-monitor captures such as cava no longer count as microphone use or keep the input meter running when the panel is closed.

Inputs with only AUX channel positions remain selectable, with their peak meter disabled to prevent Quickshell's repeated channel-mismatch errors. Both bare SPA-JSON and quoted JSON channel lists are supported.

Includes regression coverage and a matching generated runtime, manifest, release metadata, and backend binary.

Validation: ./test/all, release assembly and consistency checks, and omarchy-plugin-validate.

SotoAugusto and others added 2 commits September 29, 2026 15:05
A visualizer such as cava captures the default sink's monitor, but it was
counted as a recording application, so the bar widget kept its input peak
monitor running on the microphone at all times. Streams that set
stream.capture.sink no longer count toward microphone use.

Pro-audio sources expose only AUX channel positions. Quickshell's peak
capture asks for standard positions, cannot start, and logs an error for
every buffer (~80 lines/s), which fills $XDG_RUNTIME_DIR in about a day.
inputPeakSupported now omits the meter for AUX-only sources.

Generated runtime and backend release are not rebuilt in this commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ssupt
ssupt merged commit 0fcaa6a into ssupt:main Sep 30, 2026
5 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.

Bar widget meters the mic 24/7 when a sink-monitor stream (cava) is running; on a mono pro-audio source this logs ~80 errors/s until /run/user fills

2 participants