diff options
author | Taylor Holberton <taylorcholberton@gmail.com> | 2017-01-11 09:03:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-11 09:03:05 -0500 |
commit | e737183ffca85f396293c30ed7cee89915e3e0d3 (patch) | |
tree | fa355e7d2f99212a0947d212f9f6ca352f849011 /src | |
parent | aec640a29d3085bb4b6dc86e97be3fb055141e6d (diff) | |
parent | 95c79d8797256dcfa89c1b77d5d2ca5abbf0968c (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.c | 5 |
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) |