1. NAME

snd_ctl_new1 - create a control instance from the template

2. SYNOPSIS

struct snd_kcontrol * snd_ctl_new1(const struct snd_kcontrol_new *  ncontrol , void *  private_data );

3. ARGUMENTS

ncontrol
    the initialization record

private_data
    the private data to set

4. DESCRIPTION

Allocates a new struct snd_kcontrol instance and initialize from the given template. When the access field of ncontrol is 0, itAqs assumed as READWRITE access. When the count field is 0, itAqs assumes as one.

5. RETURN

The pointer of the newly generated instance, or NULL on failure.

6. COPYRIGHT