Fixed bug in EXAMPLES where usleep was not converted to microseconds.
author |
Eric Wing <ewing . public |-at-| gmail . com> |
date |
Tue, 29 May 2012 23:25:52 -0700 |
parents |
516da6d93534 |
children |
79503033cf53 |
files |
EXAMPLES/playsound.c EXAMPLES/playstream.c |
diffstat |
2 files changed, 2 insertions(+), 2 deletions(-)
[+]
|
line diff
--- a/EXAMPLES/playsound.c Tue May 29 19:40:38 2012 -0700
+++ b/EXAMPLES/playsound.c Tue May 29 23:25:52 2012 -0700
@@ -14,7 +14,7 @@
#if defined(_WIN32)
Sleep(milliseconds_delay);
#else
- usleep(milliseconds_delay);
+ usleep(milliseconds_delay*1000);
#endif
}
#else
--- a/EXAMPLES/playstream.c Tue May 29 19:40:38 2012 -0700
+++ b/EXAMPLES/playstream.c Tue May 29 23:25:52 2012 -0700
@@ -15,7 +15,7 @@
#if defined(_WIN32)
Sleep(milliseconds_delay);
#else
- usleep(milliseconds_delay);
+ usleep(milliseconds_delay*1000);
#endif
}
#else