what do you use for mp3's, cuz wav is all PlaySound() uses
what do you use for mp3's, cuz wav is all PlaySound() uses
Stan The Man. Beatles fan
When I was a child,
I spoke as a child,
I thought as a child,
I reasoned as a child.
When I became a man,
I put childish ways behind me"
(the holy bible, Paul, in his first letter to the Cor. 13:11)
I assume we're talking Windows.
Use the MCI interface. A bit more complicated than PlaySound. Start reading at 'mciSendCommand'.
One thing you'll notice is that there is no reference in MS documentation to the playing of MP3s. I've looked long & hard for some, but there is apparently none. If anyone knows, please tell.
However, if you set the open mci command to autodetect media files, it will play MP3s on Windows 2000 and XP, although not on 95/98 etc.
DirectMusic plays mp3's.
You can also use it to play any form of ACM compressed wav (with proper codecs).
Is there any way to convert mp3s to wavs?
Stan The Man. Beatles fan
When I was a child,
I spoke as a child,
I thought as a child,
I reasoned as a child.
When I became a man,
I put childish ways behind me"
(the holy bible, Paul, in his first letter to the Cor. 13:11)
sure... there are programs. just look online for stuff. winamp will do it, too.
i think 'wav4mp3' or 'mp34wav', i forget which, will mask an mp3 inside of a wave header.