Skip to contentSkip to conversation

Implementing ALSA compatibility in OSS

DISCUSSION Peter Zubaj 1 participant 1 message Nov 15, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines

This approach sounds interesting. Unfortunately my impression after looking at the code is that the plugin interface only works with PCM. Also
the library seems to be build tightly around ALSA kernel drivers and taking ALSA's place as the "hardware" driver (for the default and hw:* devices).

AFAIK every interface (control, pcm, midi, ...) in alsa can have it's own plugins. These plugins can be compiled in lib and load at runtime through .asoundrc file. I think, it is possible to even create virtual user space soundcard. Only compilation depends on internal alsa-lib heades (*_local.h) and on kernel asound.h file.
And these local headers can change at any time without warning.

But you should check LICENSE if you can use internal alsa-lib headers and asound.h header.

If you implement your own alsa-lib you will be always one (or more) step behind ALSA, and it will cost you too much. And missing functions implementations can by problems too.

Peter Zubaj
____________________________________
http://www.pobox.sk/ - spolahliva a bezpecna prevadzka

-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8