Playing multiple wav files sequentially while waiting for user input
Posted on 1998-11-13
I'm coding a simulation program. I couldn't find an efficient way of playing multiple wav files sequentially pre specified times meanwhile if a user presses a specified key; stop playing.
I tried to use MCIWnd, but it is costly for such a task, also I thought using ::PlaySound() asynchronously but i couldn't find a way of getting end of play message.
I don't want to get deep into Waveform Audio API internals.
I thought that i can merge these files and make them one wave file. Play it asynchronously. But i couldn't find how to merge wave files.