forked from len0rd/rockbox
Patch #1235763 by Ryan Jackson - Resume/bookmark support for Vorbis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7098 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b1ecc8319d
commit
c4b7c671f9
2 changed files with 100 additions and 74 deletions
|
|
@ -477,7 +477,7 @@ static bool rebuffer_and_seek(int newpos)
|
|||
if (ci.stop_codec)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -962,6 +962,9 @@ bool audio_load_track(int offset, bool start_play, int peek_offset)
|
|||
ci.curpos = offset;
|
||||
tracks[track_widx].start_pos = offset;
|
||||
break;
|
||||
case AFMT_OGG_VORBIS:
|
||||
tracks[track_widx].id3.offset = offset;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue