From b9d4f6bfee008efe1c38eea80fdabf1886c26cf0 Mon Sep 17 00:00:00 2001 From: Simon Wilson Date: Mon, 6 Jun 2011 14:41:02 -0700 Subject: Add integer range getters to mixer --- include/tinyalsa/asoundlib.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/tinyalsa/asoundlib.h b/include/tinyalsa/asoundlib.h index 4ee04a3..bd0cdee 100644 --- a/include/tinyalsa/asoundlib.h +++ b/include/tinyalsa/asoundlib.h @@ -131,4 +131,8 @@ int mixer_ctl_get_value(struct mixer_ctl *ctl, unsigned int id); int mixer_ctl_set_value(struct mixer_ctl *ctl, unsigned int id, int value); int mixer_ctl_set_enum_by_string(struct mixer_ctl *ctl, const char *string); +/* Determe range of integer mixer controls */ +int mixer_ctl_get_range_min(struct mixer_ctl *ctl); +int mixer_ctl_get_range_max(struct mixer_ctl *ctl); + #endif -- cgit v1.2.3