Advertisement

soundbuffer

Started by October 14, 2005 04:14 PM
-1 comments, last by davethebrave 19 years, 3 months ago
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