snd_card_ref — Get the card object from the index
struct snd_card * snd_card_ref (
)
idx
the card index
Returns a card object corresponding to the given index or NULL if not found. Release the object via snd_card_unref.
snd_card_unref