Once again, I moved to ALSA

When I got a new computer a while ago I installed PulseAudio (PA) on it since I wanted to comfortably use USB headset and switching between it and my system soundcard. PA worked somehow fine but there where some problems with my favourite music player (Music On Console) but it could be to some degree mitigated with a patch.

Later Archlinux pushed PipeWire as hard dependency of few packages I had installed (namely kwin and PulseEffects). I can remove kwin safely since I do not use KDE/Plasma and had it for testing and as a backup, but it is really a pity that PulseEffects would be gone since it is great program to play with audio effects on the fly. So switching back to pulse would get rid me of these nice programs (unless I hack the packages which is another work, so why to bother?). The other huge issue with PipeWire is that it has some problems with playing audio.
When I start playing (or seek) some video it plays noise for a while until it catches up with something which is pain since PipeWire was advertised to me as a drop-in replacement for PA but it sucks even more.

So I decide to get rid of all that mess and use only ALSA. The basic switch was easy and almost none configuration was required. But I encountered 2 problems about which I wish to write about.

PulseAudio allows in its mixer to disable system sound which works nicely but ALSA does not have such feature (as long as I am aware of) and I have to disable sound effects for everything manually. In graphical session I use mostly Qt based programs and there was an annoying sound effect played whenever some pop-up window showed up. I searched hard and I was unable to find a solution on the internet and I found that Qt itself does not contain these audio effects and that they are part of some theme (or style), in my case it was part of Oxygen (maybe my configuration is somehow set up to use oxygen and I am not aware of that). After removing Oxygen from my system the sound effects are gone and silence returned.

All this I found after going almost mad and catching straws on the internet. My last straw which allowed me to fix this problem was that it should load “*.ogg” file so I started searching for such files and after few tries it bore fruits.

The search command I used is:

find /usr -iname "*\.ogg"

Second thing was default audio support in Wine which can be easily solved by running winetricks for given wine prefix.

winetricks settings sound=alsa

Articles from blogs I follow:

Calamares towards 3.3.11

I’m going to change up the Calamares release process a little. It’s been slow going as a community-maintained project – which isn’t to say that that is a bad thing. Just slow. I’ve decided to make releases marginally more predictable than “when [ade] has …

via [bobulate] October 24, 2024

There is only one reason why Microsoft Windows is the dominating operating system on the PC desktop

The Internet is filled with blog posts, articles on tech media, and videos on YouTube about why Linux is not the main operating system on the PC desktop. "5 reasons why", "10 reasons why", bla, bla, bla. But they are all wrong.

via unixdigest.com August 24, 2024

Signing Android Apps Using a YubiKey (on NixOS)

In my spare time, I currently develop two Android apps using Flutter: AniTrack, a simple anime and manga tracker based on my own needs, and Moxxy, a modern XMPP client. While I don't provide release builds for AniTrack, I do for Moxxy. Those are signed u…

via PapaTutuWawa's Blog July 24, 2023

Generated by openring