wengang
Apr 25th, 2000, 08:29 PM
Don't kill me for asking yet another question about DirectMusic, but now that i have everything working and my game (Tetris) is complete, but after I compiled it, there is one small problem.
I have the MIDI playing in the background throughout the game. A timer restarts the Music every XXX seconds (the length of the MIDI) . but every time the Midi restarts, it holds the game up for a second or even more.
I am just wondering that's typical or if there is sth I should code differently. I was basically under the impression that using DirectMusic would make the game more efficient by keeping the song loaded and ready, but it doesn't seem to be loaded when it restarts.
Any thoughts?
I have the MIDI playing in the background throughout the game. A timer restarts the Music every XXX seconds (the length of the MIDI) . but every time the Midi restarts, it holds the game up for a second or even more.
I am just wondering that's typical or if there is sth I should code differently. I was basically under the impression that using DirectMusic would make the game more efficient by keeping the song loaded and ready, but it doesn't seem to be loaded when it restarts.
Any thoughts?