snd_card_register — register the soundcard
int snd_card_register (
struct snd_card * card)
;
This function registers all the devices assigned to the soundcard. Until calling this, the ALSA control interface is blocked from the external accesses. Thus, you should call this function at the end of the initialization of the card.
Returns zero otherwise a negative error code if the registrain failed.