Re: How to copy source/data of LDIRECTSOUNDBUFFER to LDIRECTSOUNDBUFFER8 variable.

Tech-Archive recommends: Speed Up your PC by fixing your registry



On Wed, 13 Sep 2006 14:09:02 +0700, Paul wrote:

Thanks , i can capture and add effect then playback at the same time. I use
LDIRECTSOUNDBUFFER8 instead of LDIRECTSOUNDBUFFER. The app run well.

But i have other question: i see that the demo have a delay time between i
say into microphone and playback to device. delay time about 120 - 140
miliseconds. Can you show me the reason?
And can you help me fix this, i would like to "say and hear" are realtime
or decrease time delay?

Decrease the buffer size and the notification interval, that is what
determines the latency. Note that the minimum you will be able to achieve
with DirectSound is between 30-40ms, this is due to internal buffering in
Windows.

--
http://www.chrisnet.net/code.htm
http://www.avdevforum.com/AV
.