aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Wilson <simonwilson@google.com>2013-06-28 16:21:31 -0700
committerSimon Wilson <simonwilson@google.com>2013-06-28 16:23:55 -0700
commitec281392bb826caa21cbba9aa2ebed1a9629d921 (patch)
tree844e7f479b70de1049efa96c10579b6070ebeef2 /include
parent710df882fa36faa045c1ed38e589f080eaf3a002 (diff)
mixer: add mixer_get_name() API
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 525fef7..1b5d897 100644
--- a/include/tinyalsa/asoundlib.h
+++ b/include/tinyalsa/asoundlib.h
@@ -201,6 +201,9 @@ struct mixer_ctl;
struct mixer *mixer_open(unsigned int card);
void mixer_close(struct mixer *mixer);
+/* Get info about a mixer */
+const char *mixer_get_name(struct mixer *mixer);
+
/* Obtain mixer controls */
unsigned int mixer_get_num_ctls(struct mixer *mixer);
struct mixer_ctl *mixer_get_ctl(struct mixer *mixer, unsigned int id);