View Full Version : PlaySound() in opengl
PlumBerry
04-17-2006, 11:05 PM
as the title above, i wish to know that, by using PlaySound() in opengl, can we play two .wav file in the same time, and how to make it works??
Is there any other simple method to play two sound file at the same time in opengl????:huh:
Reedbeta
04-17-2006, 11:21 PM
OpenGL has nothing to do with playing sounds, it is a graphics API only. PlaySound is, I'm presuming, the function from the Windows API - in which case, you can find the documentation for it here (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_playsound.asp). Basically, you need to use the SND_ASYNC flag, read the page for the details.
vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.