SND_CTL_ADD

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

 

NAME

snd_ctl_add - add the control instance to the card  

SYNOPSIS

"SYNOPSIS"

int snd_ctl_add (snd_card_t * card, snd_kcontrol_t * kcontrol);  

ARGUMENTS

card
the card instance
kcontrol
the control instance to add
 

DESCRIPTION

Adds the control instance created via snd_ctl_new or snd_ctl_new1 to the given card. Assigns also an unique numid used for fast search.

Returns zero if successful, or a negative error code on failure.

It frees automatically the control which cannot be added.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

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