Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

playing sounds

Status
Not open for further replies.

xdragonx

Programmer
Joined
May 29, 2005
Messages
4
Location
DE
hi,
i'm making a 2D game engine and now i would have to implent the music interface.
I tried it with the standard playsound(winmm.lib):
but there is a problem Ican't play more than one sound at the
same time. Are there alternatives?(except directx)
Or perhabs it's possible with playsound?

Please help me
 
Do this:

::PlaySound(_T("sound.wav"), NULL, SND_FILENAME | SND_ASYNC);

If that won't cut it, use DirectX. It's not that bad.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top