Scroll to navigation

SND_CTL_APPLY_VMASTE(9) Control/Mixer API SND_CTL_APPLY_VMASTE(9)

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.

COPYRIGHT

June 2023 Kernel Hackers Manual 3.10