diff options
author | Simon Wilson <simonwilson@google.com> | 2011-06-06 14:41:02 -0700 |
---|---|---|
committer | Simon Wilson <simonwilson@google.com> | 2011-06-06 14:41:02 -0700 |
commit | b9d4f6bfee008efe1c38eea80fdabf1886c26cf0 (patch) | |
tree | 87639dab29b52f2b25755efe671dc7cdf5eb62f5 /include | |
parent | c6f3e464f5e1d2f5c0f225ef9059674bd109036e (diff) |
Add integer range getters to mixer
Diffstat (limited to 'include')
-rw-r--r-- | include/tinyalsa/asoundlib.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |