Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

NAME

       snd_card_new - create and initialize a soundcard structure

SYNOPSIS

       snd_card_t * snd_card_new  (int idx, const char * xid,
                                     struct module * module, int extra_size);

ARGUMENTS

       idx    card index (address) [0 ... (SNDRV_CARDS-1)]

       xid    card identification (ASCII string)

       module top level module for locking

       extra_size
              allocate this extra size after the main soundcard structure

DESCRIPTION

       Creates and initializes a soundcard structure.

       Returns kmallocated snd_card_t  structure.  Creates  the  ALSA  control
       interface   (which  is  blocked  until  snd_card_register  function  is
       called).