[alsa-devel] can't find snd_card_next!

Guilherme grlongo.ireland at gmail.com
Wed Jul 1 16:33:00 CEST 2009


Hi all!

I studing the aplay program and there is a function that I can't find in 
any header.
Ive tried asound.h and asoundlib.h among other but without success!

This is the code:

    card = -1;
    if (snd_card_next(&card) < 0 || card < 0) {
        error(_("no soundcards found..."));
        return;
    }

Where is the snd_card_next() function?

Thanks all!

Tks!

-------------------

Guilherme Longo
Dept. Eng. da Computação
Unaerp

Linux User - #484927

*Before Asking
http://www.istf.com.br/?page=perguntas

!- I'd rather die on my feet than live on my knees -!



More information about the Alsa-devel mailing list