This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10476 - FLAC bitrate calculation overflows with large files
Attached to Project:
Rockbox
Opened by Boris Gjenero (dreamlayers) - Friday, 31 July 2009, 03:32 GMT+2
Last edited by Boris Gjenero (dreamlayers) - Saturday, 08 August 2009, 22:36 GMT+2
Opened by Boris Gjenero (dreamlayers) - Friday, 31 July 2009, 03:32 GMT+2
Last edited by Boris Gjenero (dreamlayers) - Saturday, 08 August 2009, 22:36 GMT+2
|
DetailsWhile playing a 561,500,563 byte FLAC file in r22076 on a 5G iPod, I get some pauses when the buffer is being refilled.
Bitrate calculation overflows when the filesize is multiplied by 8. The calculated bitrate is incorrect and very low. This may be seen in "Show track info". The bitrate is used to calculate the watermark, resulting in an unreasonably low watermark. I'm attaching a patch which fixes the calculation both in the metadata code and the FLAC codec. The metadata code is responsible for the above observations. |
This task depends upon
Closed by Boris Gjenero (dreamlayers)
Saturday, 08 August 2009, 22:36 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed in r22211
Saturday, 08 August 2009, 22:36 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed in r22211