forked from len0rd/rockbox
MPEGPlayer: Add a second layer of caching to help speed up byte-wise scanning and seeking a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26088 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
caa4f54e42
commit
b197c3b0d6
5 changed files with 180 additions and 78 deletions
|
@ -25,6 +25,12 @@
|
|||
|
||||
/** Streams **/
|
||||
|
||||
/* Initializes the cursor */
|
||||
void stream_scan_init(struct stream_scan *sk)
|
||||
{
|
||||
dbuf_l2_init(&sk->l2);
|
||||
}
|
||||
|
||||
/* Ensures direction is -1 or 1 and margin is properly initialized */
|
||||
void stream_scan_normalize(struct stream_scan *sk)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue