This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#6479 - Compressed audio watermark calculation is wrong for high bitrate formats.
Attached to Project:
Rockbox
Opened by Nils Wallménius (nls) - Wednesday, 27 December 2006, 21:09 GMT+1
Opened by Nils Wallménius (nls) - Wednesday, 27 December 2006, 21:09 GMT+1
|
DetailsThe compressed audio buffer watermark calculation does not take the bitrate of the audio into account. This makes the watermark too low for high bitrate formats such as flac and therefore can cause a skip in music playback when the buffer has to be refilled, especially if the disk is powered down wich makes the spin up time slightly longer.
|
This task depends upon
In reviewing the code, it appears that the watermark calculation does use the current track's bitrate. However, the watermark does not appear to be updated for each track. It looks like it gets set when the codec is loaded and when new tracks are loaded, but the calculation is based on the current track. I guess a solution would be to have the codec update the watermark for each new track and take that calculation out of the playback code.