snd_card_free(9) frees given soundcard structure

SYNOPSIS

int snd_card_free(struct snd_card * card);

ARGUMENTS

card

soundcard structure

DESCRIPTION

This function releases the soundcard structure and the all assigned devices automatically. That is, you don't have to release the devices by yourself.

This function waits until the all resources are properly released.

RETURN

Zero. Frees all associated devices and frees the control interface associated to given soundcard.

COPYRIGHT