When i use this function,
For example:
alutLoadWAVFile("sound.wav", &format, &data, &size, &freq, &loop);
Should i define where is the sound.wav file? if not, where should i put the sound.wav file?
alutLoadWAVFile question.
Started by iceboylsg, Oct 26 2009 03:48 PM
2 replies to this topic
#1
Posted 26 October 2009 - 03:48 PM
#2
Posted 26 October 2009 - 04:22 PM
You can specify a full path if you like. If you don't, it will be loaded from the current directory. The current directory is set when the application is started - if you are launching it from Visual Studio, this is usually the project folder (where the .vcproj is).
BTW, in general when you have questions about specific functions like this, you should look at the documentation.
BTW, in general when you have questions about specific functions like this, you should look at the documentation.
reedbeta.com - developer blog, OpenGL demos, and other projects
#3
Posted 26 October 2009 - 04:37 PM
oh Thank you!... but i still have a prob..it is no sound and no error. i using the method open device, open context, and set active context method. hmm..any idea?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












