[alsa-devel] How to cont the sound cards?

Cosmin Humeniuc cosmin at mandrivausers.ro
Mon Nov 19 08:12:51 CET 2007


Hi,

I am trying to develop an application using the ALSA library. I read
in a book about the snd_cards function, but it doesn't seem to be
defined anywhere. (The book is rather old, though, it talks about the
0.5.x series).

The compiler doesn't complain, but the linker gives me an "undefined
reference to `snd_cards'" error. I assume this function is deprecated,
but what can I use instead?

Cosmin


More information about the Alsa-devel mailing list