Support and General Use > Audio Playback, Database and Playlists
ReplayGain query
Lear:
--- Quote from: saratoga on August 05, 2007, 03:29:46 PM ---Forgot about stereo. However, I believe its just a 16 bit multiply. At least I know my decoder only puts out a 16 bit sample, unless the playback engine is converting back to 32 bit?
--- End quote ---
I know for certain that the multiplies are 32 bit in Rockbox (I did write the original replaygain code). Most codecs (at least most lossy ones; not sure about the rest) in Rockbox return more than 16 bits, and the dsp does all processing in 32 bits, for simplicity, accuracy and to allow things like clip prevention. The samples are scaled to 16 bit as the final step (with optional dithering).
So, it sounds like the WMA decoder should at some point be modified to return more than 16 bits per sample... :)
markun:
--- Quote from: Lear on August 05, 2007, 05:49:18 PM ---So, it sounds like the WMA decoder should at some point be modified to return more than 16 bits per sample... :)
--- End quote ---
Done, it now returns 30 bits per sample
Navigation
[0] Message Index
[*] Previous page
Go to full version