Speaker/headphone pop during boot

Is there a way to avoid a noticeable pop that happens once through the audio output during boot? Is this something specific to only some audio hardware? Currently on 14-stable but its definitely been a thing previously. Using analog stereo speakers and headphones only currently and through onboard motherboard audio. Likely relevant device output below (excludes GPU audio output as I'm not using monitor speakers).
hdacc4: <Realtek ALC892 HDA CODEC> at cad 0 on hdac1
hdaa4: <Realtek ALC892 Audio Function Group> at nid 1 on hdacc4
pcm4: <Realtek ALC892 (Rear Analog 7.1/2.0)> at nid 20,22,21,23 and 24,26 on hdaa4
pcm5: <Realtek ALC892 (Front Analog)> at nid 27 and 25 on hdaa4
pcm6: <Realtek ALC892 (Rear Digital)> at nid 30 on hdaa4
pcm7: <Realtek ALC892 (Onboard Digital)> at nid 17 on hdaa4

/etc/sysctl.conf has old settings of:
hw.snd.default_unit=4
hw.snd.vpc_autoreset=0

Thought I used to have a solution long ago of saving volume 0% during shutdown and adjusting it back up (probably a sane default instead of previous setting) late enough during startup to avoid it but haven't given it much thought as I normally reboot so rarely.
 
I hear my over the ear headphones beside me make a popping sound each boot. It is not a quiet pop. As my headphones are plugged into a headphone jack of my speakers, it would be much louder in the room if I didn't leave them regularly plugged in.
 
In my case it happens randomly even after a simple resume from RAM. And funnily enough the internal speakers are not even the default device, which is the HDMI audio. Maybe I just need to set voume to 0% on shutdown and suspend and set it back after boot and resume, unless someone else has a better idea.
 
Back
Top