From f0a20ee4ccbba5504bd87397fcf9d9a89467208d Mon Sep 17 00:00:00 2001 From: Simon Wilson Date: Sun, 5 Jun 2011 21:18:52 -0700 Subject: 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 --- include/tinyalsa/asoundlib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 -- cgit v1.2.3