summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2010-11-04 19:58:44 +0100
committerJaroslav Kysela <perex@perex.cz>2010-11-04 19:58:44 +0100
commit9b6df1cf64ea7ccb329b4922d138c1f36ace00c0 (patch)
treec39a6f281d63e29d563d202545c663c1819d50ae /include
parente4083a1182de660960afba5438a4dad47cbeac2e (diff)
downloadalsa-lib-9b6df1cf64ea7ccb329b4922d138c1f36ace00c0.tar.gz
control: add ASCII parsers from amixer
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'include')
-rw-r--r--include/control.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/control.h b/include/control.h
index 3d6b0a5f..e8f38bb4 100644
--- a/include/control.h
+++ b/include/control.h
@@ -284,6 +284,13 @@ unsigned int snd_ctl_event_elem_get_index(const snd_ctl_event_t *obj);
int snd_ctl_elem_list_alloc_space(snd_ctl_elem_list_t *obj, unsigned int entries);
void snd_ctl_elem_list_free_space(snd_ctl_elem_list_t *obj);
+char *snd_ctl_ascii_elem_id_get(snd_ctl_elem_id_t *id);
+int snd_ctl_ascii_elem_id_parse(snd_ctl_elem_id_t *dst, const char *str);
+int snd_ctl_ascii_value_parse(snd_ctl_t *handle,
+ snd_ctl_elem_value_t *dst,
+ snd_ctl_elem_info_t *info,
+ const char *value);
+
size_t snd_ctl_elem_id_sizeof(void);
/** \hideinitializer
* \brief allocate an invalid #snd_ctl_elem_id_t using standard alloca