SND_CTL_NEW1

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

snd_ctl_new1 - create a control instance from the template  

SYNOPSIS

"SYNOPSIS"

snd_kcontrol_t * snd_ctl_new1 (const snd_kcontrol_new_t * ncontrol, void * private_data);  

ARGUMENTS

ncontrol
the initialization record
private_data
the private data to set
 

DESCRIPTION

Allocates a new snd_kcontrol_t instance and initialize from the given template. When the access field of ncontrol is 0, it's assumed as READWRITE access. When the count field is 0, it's assumes as one.

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


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:50 GMT, October 09, 2005