FS#2958 - Quick null playback timer

Attached to Project: Rockbox
Opened by Brandon Low (lostlogic) - Monday, 30 January 2006, 02:32 GMT
Last edited by Brandon Low (lostlogic) - Wednesday, 01 August 2007, 14:21 GMT
Task Type Patches
Status Closed
Assigned To Brandon Low (lostlogic)
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Here'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

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, 14:21 GMT
Reason for closing:  Out of Date
Additional comments about closing:  Other playback testing methods now exist.
Comment by Brandon Low (lostlogic) - Tuesday, 31 January 2006, 00:12 GMT

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.