aboutsummaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>2014-09-09 16:54:12 +0100
committerRichard Fitzgerald <rf@opensource.wolfsonmicro.com>2014-09-09 16:54:52 +0100
commit57a877495e9bd8e2e1ea8fd42bacbc149a6cbcd3 (patch)
treec07bb02e81b710359f18ea0f468d593d1e5fd484 /include/sound
parentf2a7b6d3d81bd337a540d56704b4aaa7bdb046fe (diff)
mixer: Add mixer_ctl_get_id
Add a function to get an id of a control that can be passed to mixer_get_ctl(). This can be used to lookup a control by name and store its id for later use rather than have the overhead of name lookup each time it is used. Lookup by id is quick and avoids the disadvantage that storing a pointer to the mixer_ctl object creates a client with a dependency on the address of the internal control array. Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions