comparison src/sid/xmms-sid.c @ 1697:f35f9d6fcb6d

Automated merge with file:/home/ccr/audacious/plugins
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 09 Sep 2007 23:23:00 +0300
parents 62e89e392227 aee4ebea943a
children 4bdb8621853e
comparison
equal deleted inserted replaced
1696:1ac047826c64 1697:f35f9d6fcb6d
524 524
525 XS_MUTEX_UNLOCK(xs_status); 525 XS_MUTEX_UNLOCK(xs_status);
526 526
527 /* Wait a little */ 527 /* Wait a little */
528 while (xs_status.isPlaying && (pb->output->buffer_free() < audioGot)) 528 while (xs_status.isPlaying && (pb->output->buffer_free() < audioGot))
529 xmms_usleep(500); 529 g_usleep(500);
530 530
531 /* Check if we have played enough */ 531 /* Check if we have played enough */
532 XS_MUTEX_LOCK(xs_status); 532 XS_MUTEX_LOCK(xs_status);
533 if (xs_cfg.playMaxTimeEnable) { 533 if (xs_cfg.playMaxTimeEnable) {
534 if (xs_cfg.playMaxTimeUnknown) { 534 if (xs_cfg.playMaxTimeUnknown) {