![]() |
| [[ Home | Forums | 3D Engines Database | Wiki | Articles/Tutorials | Game Dev Jobs | IRC Chat Network | Contact Us ]] |
|
|
#1 |
|
New Member
Join Date: Apr 2006
Posts: 3
|
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???? ![]() |
|
|
|
|
|
#2 |
|
DevMaster Staff
Join Date: Oct 2004
Location: Seattle, WA
Posts: 3,707
|
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. Basically, you need to use the SND_ASYNC flag, read the page for the details.
___________________________________________
Currently working at Sucker Punch reedbeta.com - OpenGL demos and other projects Luabridge - a lightweight, dependency-free C++/Lua binding library. CD Lite - an unobtrusive, minimal CD player application for Windows. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|