r/linux • • Jul 30 '12

KLANG - Kernel Level Audio Next Generation

http://klang.eudyptula.org/
228 Upvotes

145 comments sorted by

View all comments

Show parent comment

1

u/Joeboy Jul 31 '12 edited Aug 18 '26

Selective violet ring head march vast chase quilt advise compare

This post was anonymized with Redact

2

u/datenwolf Jul 31 '12

Well, this is most certainly the weak point. As it looks right now, yes. I don't see a sane way (yet) how to make it use ALSA drivers already. One of the major problems is, that ALSA hides some functionality behind controls (those you find in the mixer) which should be accessible to the KLANG backend to make efficient use of them. For example if a piece of HW supports HW-mixing of streams with different samplerates, then KLANG should divert premixed streams of each sample rate to the HW. This is possible for some, but not all ALSA drivers.

Also a majority of the ALSA drivers need a major overhaul anyway. Did you ever look into the snd-intel-hdaudio drivers code base? Or take a look at the EMU10k drivers, which have many TODOs standing not being addressed for years.

The idea so far is trying to port/adopt as much from the ALSA and/or the OSS4 GPL drivers as possible and write down a document of best practices, how to efficiently port drivers over to KLANG.