Changeset 4896:0cd0dc3bc104 in roaraudio for roard/loop.c
- Timestamp:
- 04/29/11 15:28:16 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/loop.c
r4820 r4896 123 123 #ifdef ROAR_HAVE_USLEEP 124 124 if ( g_standby || (streams < 1 && g_autostandby) ) { 125 usleep((1000000 * ROAR_OUTPUT_BUFFER_SAMPLES) / sa->rate);125 roar_usleep(((uint_least32_t)1000000 * ROAR_OUTPUT_BUFFER_SAMPLES) / sa->rate); 126 126 ROAR_DBG("usleep(%u) = ?\n", (1000000 * ROAR_OUTPUT_BUFFER_SAMPLES) / sa->rate); 127 127 } else {
Note: See TracChangeset
for help on using the changeset viewer.