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:
parent
54ca765769
commit
ba45adbafc
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue