c++ - Playing mutiple files simultaneously with the PlaySound() API -


i've discovered how easy play wav file using win32 api playsound() function.

i'm implementing in game background music. plan use every time score increases one. unfortunately when this, , plays score sound, stops background music.

is there way have both wav files play simultaneously?

you can use snd_nostop flag achieve this. better off using directx technology sound if you're writing game.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -