This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#2958 - Quick null playback timer
Attached to Project:
Rockbox
Opened by Brandon Low (lostlogic) - Monday, 30 January 2006, 03:32 GMT+1
Last edited by Brandon Low (lostlogic) - Wednesday, 01 August 2007, 16:21 GMT+1
Opened by Brandon Low (lostlogic) - Monday, 30 January 2006, 03:32 GMT+1
Last edited by Brandon Low (lostlogic) - Wednesday, 01 August 2007, 16:21 GMT+1
|
DetailsHere's a quick patch that sends playback to the
bitbucket and compares the play time to the number of bytes it sent to the bitbucket to estimate codec performance. THIS IS JUST A HACK to do it. After playback stops, a % realtime is displayed in a splash. With this patch applied, there is a #define TIME_CODEC in pcmbuf.h, to go back to normal playback, just comment that out. |
This task depends upon
Closed by Brandon Low (lostlogic)
Wednesday, 01 August 2007, 16:21 GMT+1
Reason for closing: Out of Date
Additional comments about closing: Other playback testing methods now exist.
Wednesday, 01 August 2007, 16:21 GMT+1
Reason for closing: Out of Date
Additional comments about closing: Other playback testing methods now exist.
Here's a new version of the patch, still enabled by the
patch, still has the problem where the "result" will be
displayed all over the place after a run.
Another problem I've found is that it now fails if the test
file is larger than the initial buffer length set.
Only works on single file playlists.
Now doesn't start timing until the initial buffer fill is
complete so that what we are timing is only decode time vs.
decode bytes.