iceboylsg at October 26th, 2009 11:48 — #1
When i use this function,
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?
reedbeta at October 26th, 2009 12:22 — #2
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.
iceboylsg at October 26th, 2009 12:37 — #3
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?