snd_card_free (9) - Linux Man Pages
snd_card_free: frees given soundcard structure
snd_card_free - frees given soundcard structure
int snd_card_free(struct snd_card
- soundcard structure
This function releases the soundcard structure and the all assigned devices automatically. That is, you don't have to release the devices by yourself.