Changeset 4896:0cd0dc3bc104 in roaraudio for roard
- Timestamp:
- 04/29/11 15:28:16 (13 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/driver_sysclock.c
r4708 r4896 113 113 114 114 if ( diff > 0 ) 115 usleep(diff);115 roar_usleep(diff); 116 116 117 117 return count; -
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 { -
roard/streams.c
r4847 r4896 2427 2427 2428 2428 #ifdef ROAR_HAVE_USLEEP 2429 usleep(100); // 0.1ms2429 roar_usleep(100); // 0.1ms 2430 2430 #endif 2431 2431
Note: See TracChangeset
for help on using the changeset viewer.