Mercurial > hg > xmms-sid
comparison src/xmms-sid.c @ 383:e0caab85510e
Set song length to 0 instead of -1 to enable XMMS's seek slidebar at all
times.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 27 Nov 2005 19:16:04 +0000 |
parents | 5a92a2aee74c |
children | b09d74eb71e6 |
comparison
equal
deleted
inserted
replaced
382:3fe7f85dd39a | 383:e0caab85510e |
---|---|
416 | 416 |
417 audioOpen = TRUE; | 417 audioOpen = TRUE; |
418 | 418 |
419 /* Set song information for current subtune */ | 419 /* Set song information for current subtune */ |
420 xs_plugin_ip.set_info(myTune->subTunes[myStatus.currSong - 1].tuneTitle, | 420 xs_plugin_ip.set_info(myTune->subTunes[myStatus.currSong - 1].tuneTitle, |
421 (songLength > 0) ? (songLength * 1000) : -1, | 421 (songLength > 0) ? (songLength * 1000) : 0, |
422 (myTune->subTunes[myStatus.currSong - 1].tuneSpeed > | 422 (myTune->subTunes[myStatus.currSong - 1].tuneSpeed > |
423 0) ? (myTune->subTunes[myStatus.currSong - 1].tuneSpeed * 1000) : -1, | 423 0) ? (myTune->subTunes[myStatus.currSong - 1].tuneSpeed * 1000) : -1, |
424 myStatus.audioFrequency, myStatus.audioChannels); | 424 myStatus.audioFrequency, myStatus.audioChannels); |
425 | 425 |
426 | 426 |