diff options
author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-11-11 21:27:18 +0000 |
---|---|---|
committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-11-11 21:27:18 +0000 |
commit | e71bc67d94599be70da6f79365e765ea02d6b698 (patch) | |
tree | 7659817767b239c338b99d20c7060a19e65c89c0 /apps/codecs/libspeex | |
parent | be1283dbacac66c94e2b56ed7066bf361dffabce (diff) | |
download | rockbox-e71bc67d94599be70da6f79365e765ea02d6b698.tar.gz rockbox-e71bc67d94599be70da6f79365e765ea02d6b698.zip |
Fix an issue that appeared in r15577, where skipping back to a track that has no audio data left, but still has its metadata and album art, would fail. The fix is to also clear the filesize member (as it should have been previously) to force a rebuffer when skipping back. To prevent the album art bitmap from flashing on the back skip, the whole track info struct is cleared when the track isn't needed anymore, i.e. after the PCM track change.
Also a slightly unrelated but trivial change: only load album art if it's not already loaded.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15588 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libspeex')
0 files changed, 0 insertions, 0 deletions