This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#5317 - mp3_encoder improperly encodes mono .wav files
Attached to Project:
Rockbox
Opened by tim e (timecop) - Monday, 08 May 2006, 09:20 GMT+2
Last edited by Andree Buschmann (Buschel) - Wednesday, 05 January 2011, 08:54 GMT+2
Opened by tim e (timecop) - Monday, 08 May 2006, 09:20 GMT+2
Last edited by Andree Buschmann (Buschel) - Wednesday, 05 January 2011, 08:54 GMT+2
|
Detailswhen using mp3_encoder plugin on a 44khz mono .wav file, the resulting mp3 plays too fast...
<linuxstb> it seems that Stereo input is assumed in lots of places.... The encoder itself seems to support mono, but the Rockbox implementation breaks it. There's init_mp3_encoder_engine() which is passed 'true' for stereo regardless of actual .wav format, and there's also some code in the encoding loop which tries to downsample stereo to mono (huh what) if nchannels was set to mono. Looks like someone got carried away with cut & paste |
This task depends upon
Closed by Andree Buschmann (Buschel)
Wednesday, 05 January 2011, 08:54 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed with r28971
Wednesday, 05 January 2011, 08:54 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed with r28971
FS#10678). Nevertheless there is something going wrong with samplerates != 44100. At least a 24kHz mono file encodes strange. Therefor I will not submit this fix and continue work inFS#10678.