r/linuxdev • • Mar 25 '12
Unified Linux sound API part 2
Part one can be viewed here.
Considering that people are more divided than I thought on how to fix Linux's audio system, I've decided to make this post. There seem to be two major camps for this project:
*Fix the current system
*Create a new system
There are fears that the second camp could make things more difficult by creating a project that, instead of replacing the current sound system, becomes yet another layer in the system. I wouldn't be surprised if this is how parts of the current Linux audio stack came to be. Both sides seem pretty passionate about their positions. A plan of action might not come easily. Discuss your ideas below.
EDIT: here's a logo concept for the Standardized Audio For Linux Project (which is a name I have in mind for this endeavor).
View all comments
Show parent comment
2
u/Netzapper Mar 26 '12
If you'll note, I said "in an abstract sense".
One major problem the general opensource development community has is trying to maximize arbitrary metrics. It's attractive because it's easy to measure. Going from 100ms latency to 20ms latency is something that is easily noticeable and rewarding to the hacker ego (it definitely is to mine).
But, what you want is not "low latency" in an abstract sense. "Low latency" is just a property of an audio system that is likely to result in what you really want. I can easily produce a "low latency" audio system that doesn't behave as you wish.
What you want is for your music to be properly synchronized.
Naturally, I agree. But, JACK already gives me 10-20ms latency on my machine, with sample-locked MIDI timing. Windows with ASIO and a half-way decent soundcard gives me about 20-30ms. I'm told OSX is somewhere in the 10-20ms range as well. We've already got awesome latency as compared to the competition. We beat Windows to it, in fact; only very recently have they gotten below 50ms.
What's needed is features. Support for existing audio production infrastructure. Support for the kind of audio rigs that people really have in the real world of limited resources and time.