[Scummvm-devel] MP3 Support incomplete?

Chris Gahan chris at ill-logic.com
Mon Apr 15 01:01:12 CEST 2002


I tried compiling the mp3-compressed MONSTER.SOU support today (using the latest CVS) because it seemed like a really cool feature, but I ran into a problem. After changing a few things in the source to get it to compile properly, it seems that a function (Scumm::playSfxSound_MP3(void *sound, uint32 size)) hasn't been implemented yet.

So, like, what's up with that? Would you guys like some help coding this bad-boy? :)

Oh, also, in the tools/readme.txt file, it gives incorrect instructions for compiling the MP3 support. It says to define USE_COMPRESSED_SOUND to enable it, when the define is actually COMPRESSED_SOUND_FILE. Personally, the first define is better since it fits with the USE_[some feature] scheme that the rest of the program uses.

And lastly -- this isn't really that important, I was just curious -- the tools/extract program that compresses the MONSTER.SOU file into a MONSETER.SO3/IDX is upsampling the audio (in Indy4) from 11111 hz to 22100 hz. I'm not exactly sure if this was done on purpose, or if it's a mistake. Is it done because libmad doesn't support MPEG-2.5 Layer III audio, which is what would be necessary to playback a 11.025khz file? Does the ScummVM sound mixer only mix at frequency? Just wondering. :)

Thanks.

= Chris Gahan =============
  (chris at ill-logic.com)




More information about the Scummvm-devel mailing list