Musepack Forums  

Go Back   Musepack Forums > Main > Development

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 13 May 2010, 01:12 pm   #1
Buschel
The Man
 
Join Date: Mar 2008
Posts: 9
Default Help in mpc_demux_seek() needed

Hi all,

as you may know I have ported the sv8 decoder to rockbox. When doing so there were some issues that needed to be solved due to changes especially in the buffer code. For example the change to use bytes instead for dwords slowed down decoding a lot on Coldfire targets.
Now a rockbox user found a major issue that I did not recognize during the port: Seeking forward in a file is extremely slow when this seek needs to scan (skip over frames) the first time. Seeking backwards or within the tableized area is as fast as expected. Reason for this slow seek is that within mpc_demux_seek() the buffer is always flushed and re-read again (a "FIXME"-comment tells the same). Is there a possibility to fix this behaviour?

best wishes,
Buschel
Buschel is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 11:46 pm.


Powered by vBulletin® Version 3.8.11 Beta 2
Copyright ©2000 - 2019, vBulletin Solutions Inc.