Alexey Suslikov <alexey.susli...@gmail.com> wrote: > http://klang.eudyptula.org/
Well, if nothing else the project has a clever name--if you know German. > Just curious, why they didn't even try to evaluate OpenBSD sndio. You should ask the author, not us. Also, that text doesn't definitely say that he didn't look at sndio. And if in fact he didn't, it's probably because he didn't know about it. > An overall approach to the problem is interesting thing too > > Q: Why a audio system in the kernel? > A: Because it's the only reasonable thing to do. ratchov@ disagrees. :-) The argument that the real-time requirements of audio call for a kernel implementation isn't without merit. On the other hand, other than routing, an audio system is also expected to offer a number of transformations. Do you really want to put all this into the kernel? (1) Conversion of sample formats: 8/16/24/... bits, signed/unsigned, endianness, possibly integer/float. (2) Resampling. There is no single perfect algorithm for this. See the description of sox's "rate" effect for hints of the issues involved that you probably never heard about: http://sox.sourceforge.net/sox.html (3) Mixing of several audio streams. This can get tricky. Streams in different formats--see (1), (2)--and potentially different numbers of channels need to be normalized; you want to avoid clipping but not sacrifice dynamic range, which are conflicting goals. For bonus points, if somebody wants to implement a new audio system, ask them about their intentions for dealing with compressed audio (think AC3/DTS). *shrug* -- Christian "naddy" Weisgerber na...@mips.inka.de