Dev'C++ and the PlaySound function
I read the antialasing (however you spell it) and wanted to use the PlaySound function. I add the library winmm in the project options but when I try to compile his game code it gives me compiling errors about GetTime and SND_SYNC. Anyone know how to fix this? I presume that its another Dev''C++ problem or am I doing something wrong?
Thanks for the help
Thanks mate, it works now. But I can only get it to load .wav files like in the tutorial. I changed the file to a mp3 and a midi and it doesn''t play it. Is there another call I can use for this. Midi is probably more important than mp3.
Thanks again
Thanks again
March 09, 2001 11:55 PM
I do not think that you will find some easy functions to play midi and streaming mp3 in the win32 API. The most popular solution seems to be using some other library for that.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement