aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Wilson <ksattic@gmail.com>2011-06-05 21:18:52 -0700
committerSimon Wilson <ksattic@gmail.com>2011-06-05 21:18:52 -0700
commitf0a20ee4ccbba5504bd87397fcf9d9a89467208d (patch)
tree0db49de15456ae4f240b5560f7c12ab14437fa1d /include
parent066c9f6753dff5e2b8556eeaec986651bf835e08 (diff)
Implement mixer setting in tinymix
- re-add function to set enum type by string - implement setting of mixer values in tinymix - fix bug: read current mixer values before writing
Diffstat (limited to 'include')
-rw-r--r--include/tinyalsa/asoundlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tinyalsa/asoundlib.h b/include/tinyalsa/asoundlib.h
index 2965c17..4ee04a3 100644
--- a/include/tinyalsa/asoundlib.h
+++ b/include/tinyalsa/asoundlib.h
@@ -129,5 +129,6 @@ int mixer_ctl_set_percent(struct mixer_ctl *ctl, unsigned int id, int percent);
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);
#endif