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 SkipVought 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
May 29, 2005
4
0
0
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.

Part and Inventory Search

Sponsor

Back
Top