Suggestion - MP3 support for PLAYSOUND

Previous topic - Next topic

PeeJay

I know the sound / music side is giving you nightmares at the moment, Gernot, but is there any chance of adding this?
www.peejays-remakes.co.uk
For games, remakes, and GL Basic Tutorials
Artificial Intelligence is no match for Natural Stupidity

Kitty Hello

No chance. I want to have all platforms compatible, thus I must play mp3 on PocketPC/GP2X and stuff, too. It's almost impossible to get it working on all platforms.
Maybe you can find some command line tool to convert mp3 to wav, then load the temp-wav, and delete it afterwards?
(shiver, shiver)

PeeJay

okay, does that mean that PLAYMUSIC as an mp3 is going to cause problems? This is where I'm getting confused ....
www.peejays-remakes.co.uk
For games, remakes, and GL Basic Tutorials
Artificial Intelligence is no match for Natural Stupidity

Kitty Hello

playmusic and playsound is seperated on SDL. For Windows I use MCI for music, thus you can't "blend" 2 mp3 files. It's also not HW accellerated.

LQ75

I'm trying to play mp3 files. They work well on the handheld but the PC version either crashes or remains silent. The SDK sample crashes as well. Anybody has an idea how could I go further? All help would be greatly appreciated"

Kitty Hello

the mp3 seems strange then. Try re-encoding it with a fixed bit rate (not too high, too).

LQ75

My mp3 file is a fixed bit rated one with 128 kbps. I can't imagine any simpler than that. And by the way, I wasn't able to find *any* mp3 file which works on PC.

LQ75

converted:AUDACITY 1.2.6 / Lame_v3.98.2_for_Audacity_on_Windows

MrTAToad

QuoteAnd by the way, I wasn't able to find *any* mp3 file which works on PC.
Thats odd, because the Playmusic sample works fine here.  I presume you do have your volume turned up ?

LQ75

Do you think if I turn up the volume it won't CRASH? :)

MrTAToad

You never know!

Does standard Window sounds play (from Control Panel) ?

LQ75

windows sounds also work fine
The problem is limited to mp3 files. It works well with wavs

MrTAToad

Can you make a MP3 available ?

LQ75


MrTAToad

#14
Whereabouts ?  I cant see any post with the file in it. :)

What version of Windows are you using ?