diff options
author | Simon Wilson <simonwilson@google.com> | 2012-10-23 15:05:23 -0700 |
---|---|---|
committer | Simon Wilson <simonwilson@google.com> | 2013-05-07 10:15:20 -0700 |
commit | 38f87f3be4f397d796a558555ee3218e18cd793b (patch) | |
tree | 34050c4015adf9cf2335ba931f4d96ad6b84f958 /include | |
parent | 50895678c5006e5538ec465f03ed0d6048d70074 (diff) |
mixer: add get/set_array API
This replaces (and extends) the existing get/set_bytes
API, which is no longer required.
Diffstat (limited to 'include')
-rw-r--r-- | include/tinyalsa/asoundlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tinyalsa/asoundlib.h b/include/tinyalsa/asoundlib.h index a4ebec8..ddd7a01 100644 --- a/include/tinyalsa/asoundlib.h +++ b/include/tinyalsa/asoundlib.h @@ -220,9 +220,9 @@ int mixer_ctl_get_percent(struct mixer_ctl *ctl, unsigned int id); 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_get_bytes(struct mixer_ctl *ctl, void *data, size_t len); +int mixer_ctl_get_array(struct mixer_ctl *ctl, void *array, size_t count); int mixer_ctl_set_value(struct mixer_ctl *ctl, unsigned int id, int value); -int mixer_ctl_set_bytes(struct mixer_ctl *ctl, const void *data, size_t len); +int mixer_ctl_set_array(struct mixer_ctl *ctl, const void *array, size_t count); int mixer_ctl_set_enum_by_string(struct mixer_ctl *ctl, const char *string); /* Determe range of integer mixer controls */ |