suspend sink when audio paused/stopped

Post Reply
k.s.deviate
Posts: 50
Joined: Mon Nov 24, 2025 7:32 pm

suspend sink when audio paused/stopped

Post by k.s.deviate »

Is there a way I can suspend the audio sink when the source is paused/stopped, then resume the sink when audio playback resumes?

I am having a noise issue from an Innomaker amp hat pro mini that is only present when the sink is active. When exiting Hudiy to the desktop the sink is suspended (assumed) and the noise goes away. As soon as Hudiy is opened again, the noise returns. The noise is worse when AA is open.

I have eliminated all other possible noise sources, power supply, pis, fans, screens, switches, long cable runs, and improper config.txt entry.

Edit: From my observations Hudiy keeps the audio sink active all the time while it's running, is this correct?
k.s.deviate
Posts: 50
Joined: Mon Nov 24, 2025 7:32 pm

Re: suspend sink when audio paused/stopped

Post by k.s.deviate »

sorted it out, I added "pactl load-module module-suspend-on-idle timeout=5" just before the last line of hudiy_startup.sh
Post Reply