Closed shmohawk closed 2 years ago
Duplicate #90 .
For the crackling sound - it's probably a driver issue. Please, report it here: https://bugzilla.kernel.org (Audio group). Attach output from alsa-info.sh --no-upload
.
I updated to pulseaudio 16 and the latest alsa-plugins, but it's still crackling. For some reason it does not happen with software using pulseaudio directly, only with alsa-over-pulseaudio, so I'm hesitant to be accepting of this being a kernel driver issue.
How do you test the alsa -> pulseaudio plugin ? Do things work with speaker-test
or aplay
utility ?
Crosslink: https://bugzilla.kernel.org/show_bug.cgi?id=216377
Additional comment in the kernel bugzilla: "They are symptomous with ~5s of crackling at the start of audio playbacks via pulseaudio-over-alsa. It does not occur with software interfacing with pulseaudio directly."
cmus is using pulseaudio directly (displaying "C* music player: playback" in pavucontrol), where it does not crackle. Google Chrome is showing up in pavucontrol as "ALSA plug-in [chrome]: ALSA playback".
I tested aplay with CantinaBand60.wav from https://www2.cs.uic.edu/~i101/SoundFiles/, displaying similar to Chrome in pavucontrol - without crackling. So this may very well be a problem in the ALSA interface of Google Chrome.
Edit: try launching chromium with --audio-buffer-size=2048 did actually seem to have fixed it. Chromium bug: Set audio buffer size to 2048.
So the issue is not directly ALSA related. Closing.
It is symptomous with a crackling sound for ~5 seconds after any playback starts.
alsa-lib 1.2.7.2 alsa-utils 1.2.7 alsa-plugins 1.2.2