1
0
Fork 0
forked from len0rd/rockbox

correctly set playback time in the asap codec. (metadata parser might not do it for all fileformats).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24567 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Wenger 2010-02-08 16:48:56 +00:00
parent 54ca765769
commit ba45adbafc

View file

@ -89,6 +89,9 @@ next_track:
if (duration < 0)
duration = 180 * 1000;
/* set id3 length, because metadata parse might not have done it */
ci->id3->length = duration;
ASAP_PlaySong(&asap, song, duration);
ASAP_MutePokeyChannels(&asap, 0);