FS#5911 - Log playback queuing and tidy routine names

Attached to Project: Rockbox
Opened by Steve Bavin (pondlife) - Thursday, 31 August 2006, 09:39 GMT
Task Type Patches
Category Simulator
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


This patch does two things to playback.c:
1) Adds logf calls to all enqueuing and dequeuing code; this is only enabled on the simulator by default, but you can easily enable it by #defining LOGF_QUEUES.
2) Adds suitable prefixes (audio_ or codec_) to routines that are only used on one particular thread and did not have a prefix before.
I found these changes invaluable when debugging playback.c and hopefully others will find they help too.
This task depends upon

Closed by  Steve Bavin (pondlife)
Thursday, 31 August 2006, 10:05 GMT
Reason for closing:  Accepted
Additional comments about closing:  Added to CVS.