1
0
Fork 0
forked from len0rd/rockbox

Fix bug 5341: Resume in Wav and Flac doesn't start from the position where it was left off. Mark Arigo helped with the Flac fix.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10051 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Magnus Holmgren 2006-06-04 15:04:03 +00:00
parent 959d23e231
commit f95dd56a2c
3 changed files with 50 additions and 13 deletions

View file

@ -1744,8 +1744,10 @@ static bool audio_load_track(int offset, bool start_play, bool rebuffer)
ci.curpos = offset;
tracks[track_widx].start_pos = offset;
break;
case AFMT_OGG_VORBIS:
case AFMT_FLAC:
case AFMT_PCM_WAV:
tracks[track_widx].id3.offset = offset;
break;
}