I use the MciSendCommand to open an MCI DEVICE,but it comes to be that the command executes so slowly,and it has a insufferable latency,anyone knows how to accelerate it?
thank you...
Posted on 2005-09-09 03:36:27 by asnoka
What type of device are you opening? I had most noticeable problems with the MIDI out. Loading a .mid song took 1-3s.
Posted on 2005-09-09 04:48:28 by Ultrano
I use the PlaySound API with the SND_ASYNC parameter and it can play the wav file asychoronously,and this time the latency dissappeared...
Posted on 2005-09-09 11:32:19 by asnoka
Ultrano, indeed MIDI is very problematic with MCI - I had to do all sorts of threading fun in my bugfix loader for the win32 version of the XCOM games to work around this.
Posted on 2005-09-09 11:39:18 by f0dder