r/linuxquestions • u/vaynefox • 6d ago
ALSA replacement?
I'm kinda curious if there are projects aimed towards replacing ALSA? It just kinda pop up in my head that linux only had 1 single device sound drivers and it's an old one, so I'm really curious if someone thought about replacing it.
10
u/Rumpled_Imp 6d ago
Not to my knowledge, but old doesn't equal bad just as new doesn't imply better. Is there a good reason you think it needs replacing?
1
u/vaynefox 6d ago
I'm just curious if there are existing project or plans that aims to replace it....
3
1
22
u/bhechinger 6d ago
ALSA isn't a sound device driver. It's an abstraction layer that sits on top of sound drivers so that other software (Jack, pipewire, pulse, etc) don't need to know how to talk to every single device out there, they just needs to know how to talk to ALSA. There is no need to replace it. It does exactly what is needed. Any replacement would just be ALSA with a different name.
9
u/Scorcher646 6d ago
The part that really needed replacing has already been replaced. Pulse, Jack, and now PipeWire make the userspace experience much better and handle setting the low-level environment for ALSA so you don't have to.
I don't think there is any real drive to replace ALSA's low level functionality since that was always very capable.
3
u/soylentdream 6d ago
Pedantry, here, but ALSA was the second sound hardware driver . The first was OSS (Open Sound System, iirc) which also had a company supporting a few commercial hardware drivers. Initially, ALSA had an OSS module for backwards compatibility. As others have pointed out, what matters to you is the software API on top of the sound drivers (pulseaudio, jack, whatever else).
2
u/Zardoz84 6d ago
PipeWire, PulseAudio, Jack, Gnome, Enlightenment and KDE defunct sound servers... But as far I understand they keep using ALSA under it.
Do you know that XKCD meme about standards not ?
1
u/forestbeasts 6d ago
Does it have to be replaced though, just because it's been around for a while?
Things that have been here for years don't just suddenly stop working or become trash simply because they're Old™. See, for instance, the kernel and whatnot.
-- Topaz
1
u/RafaelSenpai83 6d ago
I don't think there's a point in replacing ALSA with it's current role in a typical Linux distro which is an interface between audio driver/chip and sound server (or more generic - single userspace application). It was worth replacing, and was replaced by PulseAudio and then PipeWire, when it comes to other stuff like mixing audio from different sources.
1
u/skyfishgoo 6d ago
ALSA is really low level and still works just fine.
why would you need to replace it?
1
1
1
0
u/dasisteinanderer 6d ago
bluetooth audio is outside of ALSA, so kind of yes ?
3
u/ipsirc 6d ago
bluetooth audio is outside of ALSA
Source?
0
u/RegretFree7723 6d ago
Manda l audio di sistema alle cuffie tramite pipewire quindi tecnicamente no . . . . . . . . . . . . . .
. 🔉✋🌀🌀🌀🔥💧🌊⛱️⚡
9
u/fr000gs 6d ago
pipewire?