aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2017-01-11 00:31:58 -0500
committerGitHub <noreply@github.com>2017-01-11 00:31:58 -0500
commitaec640a29d3085bb4b6dc86e97be3fb055141e6d (patch)
treeb3d0a62040df593cdc8513ca509f3fcbc0205733 /include
parent3e9a64211e76529aae4ff08e7a661bcffdee02a5 (diff)
parent010121a131a8092ca7cfc9e219b6fb1e3f4346bf (diff)
Merge pull request #93 from bpankajl/mixer_wait_event
Tinyalsa: Add support to poll on alsa control
Diffstat (limited to 'include')
-rw-r--r--include/tinyalsa/mixer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/tinyalsa/mixer.h b/include/tinyalsa/mixer.h
index 0a48b6f..faeb957 100644
--- a/include/tinyalsa/mixer.h
+++ b/include/tinyalsa/mixer.h
@@ -90,6 +90,10 @@ struct mixer_ctl *mixer_get_ctl_by_name_and_index(struct mixer *mixer,
const char *name,
unsigned int index);
+int mixer_subscribe_events(struct mixer *mixer, int subscribe);
+
+int mixer_wait_event(struct mixer *mixer, int timeout);
+
unsigned int mixer_ctl_get_id(const struct mixer_ctl *ctl);
const char *mixer_ctl_get_name(const struct mixer_ctl *ctl);