Skip to content

squeezelite: add ALSA mixer volume options - #30544

Open
kel-mo wants to merge 2 commits into
openwrt:masterfrom
kel-mo:squeezelite-mixer
Open

kel-mo wants to merge 2 commits into
openwrt:masterfrom
kel-mo:squeezelite-mixer

Conversation

@kel-mo

@kel-mo kel-mo commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

📦 Package Details

Maintainer: @thess

Description:
Expose squeezelite's ALSA-control volume mode through UCI: mixer (-V control name), mixer_device (-O ctl device) and linear_volume (-X). Without a mixer the existing unmute (-U) path is unchanged; the two are mutually exclusive in squeezelite.


🧪 Run Testing Details

Run tested: playback works as expected via MA on gl-mt2500a SNAPSHOT


✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

Comment thread sound/squeezelite/files/squeezelite.init Outdated
Comment thread sound/squeezelite/files/squeezelite.conf

@openwrt-ai openwrt-ai 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.

Reviewed 1 new commit.


Generated by Claude Code

Comment thread sound/squeezelite/files/squeezelite.init Outdated
kel-mo and others added 2 commits September 18, 2026 16:23
Expose squeezelite's ALSA-control volume mode through UCI: mixer (-V
control name), mixer_device (-O ctl device) and linear_volume (-X).
Without a mixer the existing unmute (-U) path is unchanged; the two are
mutually exclusive in squeezelite, so unmute is listed in the default
config next to mixer to make that visible.

Signed-off-by: Kel Modderman <kelvmod@gmail.com>
The command line was built as a flat string and expanded unquoted into
procd_set_param, so any value containing a space (ALSA control names
like "PCM Playback Volume", player names like "Living Room") was split
into several arguments. Append each option via procd_append_param
instead; the string is only kept for the logger line. The -r and -e
flags are passed explicitly rather than folded into their values.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Kel Modderman <kelvmod@gmail.com>

@openwrt-ai openwrt-ai 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.

Reviewed 2 new commits; no new issues found.


Generated by Claude Code

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