aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2016-09-16 09:22:18 -0400
committerTaylor Holberton <taylorcholberton@gmail.com>2016-09-16 09:22:18 -0400
commit7687f0fa2a222c4793de93fb4eeb70323b1603ed (patch)
tree03a6a6ebd9e977cdbcb98f0d4b59f944a9ad3e94 /include
parent713e656a07d7530a2036e3af2972c6da226fb684 (diff)
parent9e2c240f20f82159b59c37ed3c722c1279f7863e (diff)
Merge branch 'address-duplicate-control-names' of https://github.com/dawagner/tinyalsa into dawagner-address-duplicate-control-names
Diffstat (limited to 'include')
-rw-r--r--include/tinyalsa/asoundlib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/tinyalsa/asoundlib.h b/include/tinyalsa/asoundlib.h
index d87e357..8c215ce 100644
--- a/include/tinyalsa/asoundlib.h
+++ b/include/tinyalsa/asoundlib.h
@@ -232,6 +232,9 @@ const char *mixer_get_name(struct mixer *mixer);
unsigned int mixer_get_num_ctls(struct mixer *mixer);
struct mixer_ctl *mixer_get_ctl(struct mixer *mixer, unsigned int id);
struct mixer_ctl *mixer_get_ctl_by_name(struct mixer *mixer, const char *name);
+struct mixer_ctl *mixer_get_ctl_by_name_and_index(struct mixer *mixer,
+ const char *name,
+ unsigned int index);
/* Get info about mixer controls */
unsigned int mixer_ctl_get_id(struct mixer_ctl *ctl);