Linux Packages Manuals » alsa-lib-devel-1.1.1
ALSA project - the C library reference
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
Setup Control Interface

Functions

int snd_sctl_build (snd_sctl_t **ctl, snd_ctl_t *handle, snd_config_t *config, snd_config_t *private_data, int mode)
 Build setup control handle. More...
 
int snd_sctl_free (snd_sctl_t *handle)
 Free setup control handle. More...
 
int snd_sctl_install (snd_sctl_t *handle)
 Install given values to control elements. More...
 
int snd_sctl_remove (snd_sctl_t *handle)
 Remove (restore) previous values from control elements. More...
 

Detailed Description

The setup control interface - set or modify control elements from a configuration file.

Function Documentation

int snd_sctl_build ( snd_sctl_t **  sctl,
snd_ctl_t handle,
snd_config_t conf,
snd_config_t private_data,
int  mode 
)

Build setup control handle.

Parameters
sctlResult - setup control handle
handleMaster control handle
confSetup configuration
private_dataPrivate data for runtime evaluation
modeBuild mode - SND_SCTL_xxxx
Returns
zero if success, otherwise a negative error code
int snd_sctl_free ( snd_sctl_t sctl)

Free setup control handle.

Parameters
sctlSetup control handle
Returns
zero if success, otherwise a negative error code
int snd_sctl_install ( snd_sctl_t h)

Install given values to control elements.

Parameters
hSetup control handle
Returns
zero if success, otherwise a negative error code
int snd_sctl_remove ( snd_sctl_t h)

Remove (restore) previous values from control elements.

Parameters
hSetup control handle
Returns
zero if success, otherwise a negative error code

Generated for ALSA project - the C library reference by doxygen 1.8.5