View Full Version : PlaySound() issue...
09-28-2011, 06:03 AM
i am having problem in playing two sounds at same time via PlaySound() and another problem is that i cant play sound in the presence of glutTimerFunc() even once ??
help asap plzzzz.....:(
09-28-2011, 08:11 AM
I guess you are talking about the Windows function PlaySound(). It stops the thread until the sound play is finished.
If you want a non blocking sound API, look into OpenAL, Fmod, BASS and the many other APIs.
You might want to drop buy one of their forums and ask questions about the API.
09-28-2011, 08:21 AM
PlaySound with SND_ASYNC won't block, but sound is really nothing to do with OpenGL and you're probably better off asking elsewhere.
09-29-2011, 04:43 PM
i have got solution provided by my University teacher
she has given me an header file only
and now i can play with them according to my will..:)
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.