snd_ctl_add_slave_uncached(9)

snd_ctl_add_slave_uncached9

Add a virtual slave control

Usage

int snd_ctl_add_slave_uncached(struct snd_kcontrol * master, struct snd_kcontrol * slave);

Arguments

master

vmaster element

slave

slave element to add

Overview

Add a virtual slave control to the given master. Unlike snd_ctl_add_slave, the element added via this function is supposed to have volatile values, and get callback is called at each time queried from the master.

When the control peeks the hardware values directly and the value can be changed by other means than the put callback of the element, this function should be used to keep the value always up-to-date.

Return

Zero if successful or a negative error code.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.