Playing .avi kills future sounds

BlitzPlus Forums/BlitzPlus Programming/Playing .avi kills future sounds

drankin(Posted 2003) [#1]
Hi Everybody,

I just bought Blitz Plus yesterday so that I could convert a 2D Blitz3D game I wrote into something that people can play on any video card. For the most part, I had very little changes to make. One big problem I'm having though is that in the "Game Over" screen, I load and play a little .avi clip. That works fine, but after the movie plays once, I can't play any other sounds in the game. I'm on WinXP and the code I'm using to play the movie is:

started% = MilliSecs()
game_over = OpenMovie("game_over.avi")
While game_over_loop% = 1
DrawMovie game_over, 270,202,102,77
If MilliSecs() - started% > 14000 Then game_over_loop% = 0
Wend
CloseMovie(game_over)

After the player goes through this screen once, the only audio I can get is from .avi files. PlaySound() does nothing. In B3D this code worked fine. Is there something else I need to do in B+?

Thanks in advance for any help or suggestions.

-Dave


ashmantle(Posted 2003) [#2]
It might be a bug.. someone else should check this one out too..


drankin(Posted 2003) [#3]
In case anyone else does try it, I should let you know that I'm using the 1.34 update, and I didn't try it any other version of B+. I've also done experiments now on Win98 and ME and I have the same problem in those.