Advertisement

DirectX blitting and Win16 lock

Started by February 29, 2000 03:36 PM
0 comments, last by Sparkle 25 years ago
Hi there! I''m currently messing around with the FireMod sound system (perhaps better known as fmod). In this sndsys you can choose between Windows Multimedia driver or DirectSound driver for output. The strange thing is that when I use fmod in a fullscreen DirectDraw app with the winmm driver, the sound is all choppy and bad, while with the directsound driver the same app produces fine, smooth sound output. It''s just a test app, so I only perform two blits per frame, and when I regulate the framerate, the chopping adjusts accordingly, becoming rarer with slower framerates. Has this something to do with the Win16 lock being used by the DirectDraw Blt() and BltFast() functions? If so, how come DSound works fine, and not Winmm? Thanx *Sparkle*
Hi!

I''m not sure if this is the same error.. but I tried to use the sendMCICommand instructions to play a midi file and it just didn''t work..I was getting no sound,. After a few tries, I decided to install DX 7 and saw the directmusic docs and samples, with little effort I have now my game playing midi files - It''s unbelieveable easy to do it! the doc includes even a tut on how to play a midi - Well, all this just to say you better check DirectMusic than using the multimedia driver.. and it sound better too!

Hope it helps!
"Old programmers don't die,they just terminate and stay resident."

This topic is closed to new replies.

Advertisement