aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2017-01-11 09:03:05 -0500
committerGitHub <noreply@github.com>2017-01-11 09:03:05 -0500
commite737183ffca85f396293c30ed7cee89915e3e0d3 (patch)
treefa355e7d2f99212a0947d212f9f6ca352f849011 /src
parentaec640a29d3085bb4b6dc86e97be3fb055141e6d (diff)
parent95c79d8797256dcfa89c1b77d5d2ca5abbf0968c (diff)
Merge pull request #94 from bpankajl/mixer_wait_event
Fix mixer_wait_event function comments
Diffstat (limited to 'src')
-rw-r--r--src/mixer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mixer.c b/src/mixer.c
index 73fbc66..d07797a 100644
--- a/src/mixer.c
+++ b/src/mixer.c
@@ -321,8 +321,9 @@ int mixer_subscribe_events(struct mixer *mixer, int subscribe)
/** Wait for mixer events.
* @param mixer A mixer handle.
* @param timeout timout value
- * @returns On success, zero.
- * On failure, non-zero.
+ * @returns On success, 1.
+ * On failure, -errno.
+ * On timeout, 0
* @ingroup libtinyalsa-mixer
*/
int mixer_wait_event(struct mixer *mixer, int timeout)