Changeset 1750:e1745c2a2f8c in roaraudio for roard/loop.c
- Timestamp:
- 05/18/09 21:45:19 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/loop.c
r1494 r1750 92 92 */ 93 93 94 #ifdef ROAR_HAVE_USLEEP 94 95 if ( g_standby || (streams < 1 && g_autostandby) ) { 95 96 usleep((1000000 * ROAR_OUTPUT_BUFFER_SAMPLES) / sa->rate); 96 97 ROAR_DBG("usleep(%u) = ?\n", (1000000 * ROAR_OUTPUT_BUFFER_SAMPLES) / sa->rate); 97 98 } else { 99 #endif 98 100 clients_send_filter(sa, g_pos); 99 101 output_buffer_flush(driver_inst, driver); 100 102 clients_send_mon(sa, g_pos); 103 #ifdef ROAR_HAVE_USLEEP 101 104 } 105 #endif 102 106 103 107 midi_cb_update();
Note: See TracChangeset
for help on using the changeset viewer.