this post was submitted on 04 Sep 2023
59 points (95.4% liked)

Linux

47270 readers
2313 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

What are the main differences between pipewire and pulseaudio? Which one is better? What are other alternative popular sound servers besides these two?

you are viewing a single comment's thread
view the rest of the comments
[–] Confetti_Camouflage@pawb.social 2 points 1 year ago (1 children)

Can you elaborate on what specifically makes ALSA bad, and what you mean by HAL audio drivers?

[–] Audbol@lemmy.world -2 points 1 year ago (1 children)

I answered below, you can also read on any of the ALSA pages as well as the wiki page for it. Wealth of knowledge on the subject is available

[–] uis@lemmy.world 1 points 1 year ago (1 children)

https://www.alsa-project.org/alsa-doc/alsa-lib/pcm.html

After application transfers the data in the memory areas, then it must be acknowledged the end of transfer via snd_pcm_mmap_commit() function to allow the ALSA library update the pointers to ring buffer. This kind of communication is also called "zero-copy", because the device does not require to copy the samples from application to another place in system memory.

When you tell RTFM expect to see manual stating opposite of your point.

[–] Audbol@lemmy.world -1 points 1 year ago (1 children)

That's still not direct hardware, if you think you cracked the code then by all means show everyone otherwise, this would be a huge deal for a lot of people

[–] uis@lemmy.world 1 points 1 year ago* (last edited 1 year ago) (1 children)

Not direct enough? It literally says it will send your buffer straight to soundcard without creating any additional buffers.

Other people under this post complain of ALSA being too direct.

[–] Audbol@lemmy.world 1 points 1 year ago