aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)