Home page > Linux > Sound APIs in Linux (yet again)
Sound APIs in Linux (yet again)
Wednesday 1 October 2008, by
I would like to add some clarifications to the debate on linux sound APIs that happened last friday on planet.
First, despite being portrayed as such, I am nothing like an OSS zealot. I was just recently surprised that OSS developpement still exists and that no one cares. Hence, my initial motivation for my post was to correct false informations, not to advocate for any solution.
Now, since the debat has been opened to the issue of linux sound APIs, I feel like adding my two bits. In particular, unlike Josselin, I don’t believe that the debate is irrelevant. I, too, would like that we consider two levels for sound APIs:
- Low level, decidated to some specialized applications
- High level, used for simple sound applications, in particular in a desktop environement.
- This distinction was not an initial design for ALSA. ALSA was aimed at being both low level and high level, in particular with the pcm virtual devices. However, the lack of documentation and the absence of any high level programming interface for the high level pcm virtual devices just made this goal totally fail.
- Desktop environements didn’t agree on a common standard. Even though there seems to be some solutions that are emerging now, like pulseaudio, this is not at all a standard yet. For instance, all graphical mixers I know about only support ALSA.
So, yes, I believe there is still a debate which should not be closed be throwing away idealistic solutions, but by discussing the real issues and trying to settle real solutions.
Lennart also commented on previous message that he had adressed most of the remarks concerning the initial guide. In particular, he notices that OSS4 does a lot of audio processing in-kernel, objecting that this means that OSS4 will never be part of the official kernel. This is true, but it doesn’t mean there are no life outside of the stock kernel. Here, again, it is a matter of liberty of choice. If some audio applications are better suited for OSS4, then I don’t see why we shouldn’t provide this alternative.

8 Forum messages