Hello,
I'm trying to eliminate a "startup" pop/crackle and final "thud" when playback ceases.
My sound chain is as follows:
Dell laptop (Windows Foobar) -> 3.5mm audio out -> Dell Optiplex 3050 with 3.5mm (dell-headset-multi) audio in -> ALSA (PCH) -> arecord
I am using alsa native - no pulseaudio / jack / pipewire. My asound.conf is empty and using direct hardware devices, eg:
Code:
arecord -D hw:0 -f cd /tmp/test.wav
On playback via
Code:
aplay -D hw:0 /tmp/test.wav
I get a crackle/pop just before the song starts playing. When I stop playback in Foobar, after about 3 seconds there is a "pop/thud" as it seems the soundcard / input "turns off" on the Dell Optiplex 3050.
If I restart song playback within the 3 seconds, there is no pop/click.
I am using the default snd-hda-intel kernel module with realtek codec supporting the recognised ALC3234 device/chipset.
I have disabled power_save and power_save_controller parameters on the snd-hda-intel driver (and confirmed these settings in /sys/module)
I have tried a cheap AliExpress USB5.1 soundcard (as a capture device) instead of the built in Dell card and no such crackle on recording commencement. As this uses the snd-usb-audio driver, I suspect there is a problem with snd-hda-intel (or a parameter I've missed)
I have also tried using an alsa dsnoop device, to allow multi record sessions., thinking the first one would "keep the card awake" whilst then playing the song and recording into another file. The pop/crackle is still present.
I am unsure what "wake up" or "initialisation" is being done then "Reset" after silence.
Out of interest, this also happens on an Archlinux 6.2.9 kernel build
Ubuntu version:
Code:
root@ubuntu-pc:/etc# uname -arLinux ubuntu-pc 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
I did an Ubuntu server install with no other custom packages. I have tried removing pulseaudio and dependent packages but the pop/click on song startup remains.
I'd appreciate any advice, and happy to provide any config dumps needed.