888

you are viewing a single comment's thread
view the rest of the comments
[-] grue@lemmy.world 55 points 2 weeks ago

Real talk, though: why has Linux taken at least five tries (OSS, ALSA, JACK, PulseAudio, PipeWire) to get audio right?!

[-] SomethingBurger@jlai.lu 90 points 2 weeks ago

OSS came first, then got replaced by ALSA after it became proprietary.

PulseAudio is a userspace audio server to which programs connect. It manages audio settings per app, then sends everything to ALSA. JACK is the same but with a focus on low latency.

PipeWire is a modern drop-in replacement for both, and also has support for video on Wayland.

[-] heliotrope@retrofed.com 19 points 2 weeks ago

And then there's also sndio, ported from OpenBSD. This does basically the same thing as OSS/ALSA.

[-] Evotech@lemmy.world 28 points 2 weeks ago

That’s the thing about open source. Someone always thinks they can do better

[-] Virtvirt588@lemmy.world 10 points 2 weeks ago

That's not a feature thats exclusive to open source though. Circular reasoning like this just distracts from the fact that software just like hardware is constantly evolving, even in personal spaces. Thinking someone can do better has no relevance on the "open source" aspect or the political leaning.

[-] hzl@piefed.blahaj.zone 12 points 2 weeks ago

I'm still waiting for the latency to be viable for playing guitar with an audio interface.

[-] Alphare@lemmy.world 11 points 2 weeks ago

I'm using pipewire just fine to do so? I just needed to set the buffer size to something appropriately low and I've had no issues from popewire's side

[-] RVGamer06@sh.itjust.works 9 points 2 weeks ago
[-] hzl@piefed.blahaj.zone 1 points 2 weeks ago

Maybe it's time to give it a shot again. Does pipewire have similar functionality to voicemeeter the virtual audio cables?

[-] Alphare@lemmy.world 1 points 1 week ago

Never used it, but I use something called pipewire graph or something (I'm on vacation and I can't be bothered sorry heh)

[-] drath@lemmy.world 1 points 1 week ago* (last edited 1 week ago)

There's helvum and carla control that allow you to edit the entire audio graph with all ins and outs for all hardware and software so you can route it however you like. No need for VAC and such. But even if you do, you can load pulseaudio modules i.e. pactl load-module module-null-sink and then route them with qjackctl which is absolutely crazy and awesome how pipewire lets you do that.

[-] Muehe@lemmy.ml 1 points 1 week ago

Give Ubuntu Studio a try maybe? It comes with a lot of audio production stuff preinstalled and preconfigured, one of the most important ones in this context being low-latency process scheduling.

Essentially most distros just have default process scheduling options, which means a process might be starved for CPU time, theoretically for up to 2s or so at a time, which is very bad if that process is generating or consuming an audio stream. Low-latency scheduling, while not entirely preventing it from happening, should significantly reduce this.

You could also just configure most other distros Kernels to do low-latency scheduling of course. Or if you don't want to muck about with kernel settings try Ubuntu Studio, which has that and more all ready to use.

[-] umbraroze@slrpnk.net 10 points 2 weeks ago* (last edited 2 weeks ago)

Ohhhhhh the newbies don't remember EsounD (~~Enlightenment~~ Enlightened Sound Daemon). Basically, it was an attempt at doing PulseAudio-esque stuff way back in the OSS era. Which is to say, it just supported software mixing of multiple audio sources, because OSS usually only allowed single process to output audio. EsounD was janky and didn't work well, obviously. Probably the neatest thing about it was that it exposed the mixed output stream to any other app, so that made visualisers much easier to make (edit: another thing that newbies in this day and age don't realise, but I cannot emphasise enough how crucial visualisers were for the late 1990s / early 2000s music experience). ALSA basically supported hardware mixing (if available) out of the box, so of course it immediately became my favourite.

[-] SorryQuick@lemmy.ca 4 points 1 week ago* (last edited 1 week ago)

They don’t have the same goals.

JACK is for professional audio.

OSS and ALSA are kernel audio drivers, they’re the most powerful of them all but extremely low level. Everything else, like pulseaudio/pipewire are just higher-level interfaces that feed ALSA audio.

Pulseaudio and pipewire are sound servers.

So really it only took two tries:

OSS -> ALSA

Pulseaudio -> Pipewire

this post was submitted on 04 Apr 2026
888 points (100.0% liked)

linuxmemes

31102 readers
84 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS