this post was submitted on 04 Sep 2023
59 points (95.4% liked)
Linux
48149 readers
852 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Disclamer: I touched kernel driver development only for tiny TRNG driver for Rockchip SoC, but I mostly write user-space applications and did not touch audio directly as developer(only through OpenAL-soft).
My eyes!
Correct, audiocards don't implement raw dac access because it is jittery shit.
And here you are mixing everything together to the point of being incorrect. ALSA is not audio server, it is audio userpace-to-driver api. You can opt for using audio server and you can opt to make alsa application to go through 11 out of 9 ring of hell to use audio server. There are two buffer at this point: one on your audio card(and you can do nothing about it) and one(or multiple "parallel" if mixing is enabled) in ALSA driver.
Please stop adding more and more abstraction layers.
Ah, monopolistic(exclusive) mode. So many people complained about mixing being disabled by default, now people complain of it being enabled by default. I want to make a joke about OSS(deprecated API back in 90-ies).
ALSA is as stable as it gets. If your software is unable to keep-up with updates, then write software better.
So less latency or less interrupts? To reduce amount of interrupts you need to increase size of buffer and latency. Opposite is also true. You cannot say C and D both are less then A and B in A*B=C*D. At least using regular algebra.
Now I really want to know what you know about ALSA because it seems you don't know it well even as a user.
Funfact: you can force any application using ALSA to exclusive mode. Expect exclusive mode side-effects: no sound from other applications.
ASIO is not an audio server running in exclusive mode. I mean just there, that alone makes me understand you completely have no idea what you are talking about, the rest of the gibberish you spewed here is funny but that's the biggest red flag. Thank you my guy, for deciding not to research anything about this subject then write a nice long comment attempting to make my look like an idiot while doing no research at all and wasting my time and the time of anyone else reading here and making an attempt to worsen the Linux community in doing so. Bravo, thank you so much
I never said that. ASIO is a driver running in exclusive mode. ALSA is a driver, that just so happens to be able to run in exclusive mode. If you searched here for "Direct Read / Write transfer", then you would have seen this:
ASIO is still not an audio driver running in exclusive mode, my brother in Christ how do you not understand this
So you want to say ASIO has software mixing? Really?
I don't know how you got so confused about this. Noting I said was incorrect to begin with you just love of made your own nonsense explanation for everything. I suggest doing some research on the subject. YIKES! Lemmy dunnings strike again