Name
snd_ctl_apply_vmaster_slaves —
Apply function to each vmaster slave
Synopsis
int snd_ctl_apply_vmaster_slaves ( | struct snd_kcontrol * kctl, |
| int (*func)
( struct snd_kcontrol *vslave, struct snd_kcontrol *slave, void *arg) , |
| void * arg) ; |
Arguments
kctl
vmaster kctl element
func
function to apply
arg
optional function argument
Description
Apply the function func
to each slave kctl of the given vmaster kctl.
Returns 0 if successful, or a negative error code.