Repository navigation
Resolve through EasyEffects to its configured output device - #8713
tzssangglass wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
The sink-input scan misses EasyEffects because it forwards through direct PipeWire node links that never appear as PulseAudio streams. Volume keys and the audio panel then end up adjusting the virtual easyeffects_sink: the OSD moves while loudness stays put -- an autogain or limiter in the chain normalizes the change away. EasyEffects persists its configured output device in easyeffectsrc, so read the physical sink from there when the stream scan finds nothing. The device is validated against the live sink list, and anything unexpected falls through to the existing behavior.
6ad5908 to
f6eb5ae
Compare
|
Thank you for tracking this down, @tzssangglass. The diagnosis is right: EasyEffects 8 links Reviewed at Two other open pull requests fix the same bug: #9132 and #13396. Of the three, #13396 looks best, so this one was not tested further:
This pull request does handle one case better than #13396. Because it reads the file, it reaches a Choosing between competing fixes is up to the maintainer, so this waits on them. |
|
Closing this alternative after #13396 merged into Scope checked by GPT-6 in Codex and Codex Medium against the discussion and landed change; review independence is not guaranteed. No tests were rerun for this cleanup. Omabot on behalf of DHH |
Problem
With Easy Effects as the default output ("Process all outputs"), the volume keys, the OSD, and the audio panel slider adjust the virtual
easyeffects_sinkinstead of the physical sink:autogain), the input-level change is normalized away -- the OSD moves while the speakers stay exactly as loud.Root cause
omarchy-audio-output-sinkresolves a DSP sink's physical output by scanningpactl list sink-inputsfor the forwarding stream (matching the sink name, orapplication.name = "EasyEffects"). Current EasyEffects forwards through direct PipeWire node links (ee_soe_output_level:output_* -> alsa_output...:playback_*), which never appear as PulseAudio sink-inputs at all. The scan finds nothing, so the script falls back to returningeasyeffects_sinkitself -- exactly the case the header comment warns about: "the display moves while the speakers do not".Verified live: during active playback through Easy Effects,
pactl list sink-inputsshows only the apps playing intoeasyeffects_sink; no EasyEffects stream toward the physical sink exists.Fix
EasyEffects persists its configured output device in
~/.config/easyeffects/db/easyeffectsrc([StreamOutputs] outputDevice=). When the stream scan finds nothing and the selected sink iseasyeffects_sink, read the physical sink from there:pactl list sinks short), so a stale/unplugged device falls through to the existing fallback unchangedReproduction
Verification
Tested on Omarchy 4.0.1 with Easy Effects 7.x, PipeWire/WirePlumber.