soundbuffer
hi! i want to play several soundbuffers sequentially at the moment i'm using the following code: g_pSounds[0]->Play(0, 0, 0); g_pSounds[0]->GetStatus(&dwStatus); while ((dwStatus & DSBSTATUS_PLAYING)) g_pSounds[0]->GetStatus(&dwStatus); g_pSounds[1]->Play(0, 0, 0); g_pSounds[1]->GetStatus(&dwStatus); while ((dwStatus & DSBSTATUS_PLAYING)) g_pSounds[1]->GetStatus(&dwStatus); .... it works, but it´s not satisfying to get stuck in the while-loop any suggestions? thx, dave
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement