comparison src/vorbis/vorbis.c @ 1676:aee4ebea943a

xmms_usleep() was removed, use g_usleep()
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 09 Sep 2007 22:25:40 +0300
parents 177aec41b238
children f6f5603a0954
comparison
equal deleted inserted replaced
1675:ae9b0327b620 1676:aee4ebea943a
495 495
496 if (seekneeded != -1) 496 if (seekneeded != -1)
497 do_seek(playback); 497 do_seek(playback);
498 498
499 if (playback->eof) { 499 if (playback->eof) {
500 xmms_usleep(20000); 500 g_usleep(20000);
501 continue; 501 continue;
502 } 502 }
503 503
504 current_section = vorbis_process_data(playback, last_section, 504 current_section = vorbis_process_data(playback, last_section,
505 use_rg, rg_scale); 505 use_rg, rg_scale);
583 return; 583 return;
584 584
585 seekneeded = time; 585 seekneeded = time;
586 586
587 while (seekneeded != -1) 587 while (seekneeded != -1)
588 xmms_usleep(20000); 588 g_usleep(20000);
589 } 589 }
590 590
591 static void 591 static void
592 vorbis_get_song_info(char *filename, char **title, int *length) 592 vorbis_get_song_info(char *filename, char **title, int *length)
593 { 593 {