summaryrefslogtreecommitdiff
path: root/apps/codec_thread.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-02-14 02:14:26 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-02-14 02:14:26 +0000
commit0fde635fb0c00641f372dfce14aff29c40e4398e (patch)
treeba935ef9d2a346e8391752c4b3be3b647356b430 /apps/codec_thread.c
parentf8a4fbc8433bc8e9bdba535082dfbf05fb49e304 (diff)
downloadrockbox-0fde635fb0c00641f372dfce14aff29c40e4398e.zip
rockbox-0fde635fb0c00641f372dfce14aff29c40e4398e.tar.gz
rockbox-0fde635fb0c00641f372dfce14aff29c40e4398e.tar.bz2
rockbox-0fde635fb0c00641f372dfce14aff29c40e4398e.tar.xz
Leave a gap between all handles because ringbuf_add_cross interprets equal pointers as empty, corruption guard check could fail to detect overlap if buffering ran right up to the next handle and it gets asked to buffer again before freeing the following handles (adds a byte on average). Storage alignment on handle reset must at times avoid alignment increments if after a stopped rebuffer, the handle was shrunk too close to the next one or the reading position in a prior rebuffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29302 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codec_thread.c')
0 files changed, 0 insertions, 0 deletions