diff options
author | Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com> | 2017-01-11 11:28:02 +0530 |
---|---|---|
committer | Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com> | 2017-01-11 11:29:23 +0530 |
commit | 95c79d8797256dcfa89c1b77d5d2ca5abbf0968c (patch) | |
tree | fa355e7d2f99212a0947d212f9f6ca352f849011 | |
parent | 010121a131a8092ca7cfc9e219b6fb1e3f4346bf (diff) |
Fix mixer_wait_event function comments
The @return comment description incorrect.
Fix it.
Change-Id: I148a5ebf3e05eb4824beb4c8fa1032a38272d86d
Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
-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) |