New comment by LinArcX on void-packages repository https://github.com/void-linux/void-packages/issues/42698#issuecomment-1464866423 Comment: It wasn't a bug. I should just run `sudo alsactl init` before restarting the Alsa service. For anyone interested I wrote these two functions that make life more easier: ``` internal_speaker () { sd "#defaults.pcm.device 0;" "defaults.pcm.device 0;" ~/.asoundrc sd "defaults.pcm.device 3;" "#defaults.pcm.device 3;" ~/.asoundrc sudo alsactl init sudo sv restart alsa } external_speaker () { sd "defaults.pcm.device 0;" "#defaults.pcm.device 0;" ~/.asoundrc sd "#defaults.pcm.device 3;" "defaults.pcm.device 3;" ~/.asoundrc sudo alsactl init sudo sv restart alsa } ```