From ec281392bb826caa21cbba9aa2ebed1a9629d921 Mon Sep 17 00:00:00 2001 From: Simon Wilson Date: Fri, 28 Jun 2013 16:21:31 -0700 Subject: mixer: add mixer_get_name() API --- include/tinyalsa/asoundlib.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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); -- cgit v1.2.3