When I start to play The Talos Principles in Steam, I heard a lot of cracking-- maybe it's choppiness, but when I killall pulseaudio and use ALSA loopback instead, I start to play a game and all of that crackling/choppiness is gone. I think that games from Steam are outputting through ALSA Loopback, but if I use Firefox and watch YouTube videos through HTML5, I get no sound. Start cadence-pulse2loopback again, and now I get sound.
Here's another one: Kodi/Plex. If PulseAudio is running, I can only see PulseAudio as default and Loopback through PulseAudio. Stop Kodi/Plex, killall pulseaudio, and now I can use HDMI directly through Kodi/Plex.
Should I show .asoundrc? I think it is controlled by Cadence, but I could be wrong.
If I can get Firefox to cooperate with ALSA Loopback (snd_aloop), I'd gladly get rid of PulseAudio completely. Besides, PulseAudio does not have a place in my computer.
Update: The following two commands worked:
Code: Select all
firefox | aplay -Dcard:Loopback --format=S32_LE -r 48000 firefox | aplay -Dplughw:0,1 --format=S32_LE -r 48000
However, this video did not have sound played through aplay:
To work around the problem, I ran PulseAudio and both of the videos' sound are working.