Re: How to copy source/data of LDIRECTSOUNDBUFFER to LDIRECTSOUNDBUFFER8 variable.
- From: "Paul" <quoctoanpham1982@xxxxxxxxx>
- Date: Thu, 14 Sep 2006 13:54:00 +0700
Thanks Chris again.
When i SetFX for LDIRECTSOUNDBUFFER8 objects, Echo is example, it has echo
effect.
But i would like to i also can disable this effect when i want , i mean i
will have a button to determine play with effect or play without effect.
Can help me how to do that?
"Chris P. [MVP]" <msdn@xxxxxxxxxxxx> wrote in message
news:11ev4b4btib3i$.217xrh3wn11k.dlg@xxxxxxxxxxxxx
On Wed, 13 Sep 2006 14:09:02 +0700, Paul wrote:use
Thanks , i can capture and add effect then playback at the same time. I
iLDIRECTSOUNDBUFFER8 instead of LDIRECTSOUNDBUFFER. The app run well.
But i have other question: i see that the demo have a delay time between
realtimesay 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
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
.
- Follow-Ups:
- Re: How to copy source/data of LDIRECTSOUNDBUFFER to LDIRECTSOUNDBUFFER8 variable.
- From: Chris P. [MVP]
- Re: How to copy source/data of LDIRECTSOUNDBUFFER to LDIRECTSOUNDBUFFER8 variable.
- References:
- How to copy source/data of LDIRECTSOUNDBUFFER to LDIRECTSOUNDBUFFER8 variable.
- From: Paul
- Re: How to copy source/data of LDIRECTSOUNDBUFFER to LDIRECTSOUNDBUFFER8 variable.
- From: Chris P. [MVP]
- Re: How to copy source/data of LDIRECTSOUNDBUFFER to LDIRECTSOUNDBUFFER8 variable.
- From: Paul
- Re: How to copy source/data of LDIRECTSOUNDBUFFER to LDIRECTSOUNDBUFFER8 variable.
- From: Chris P. [MVP]
- How to copy source/data of LDIRECTSOUNDBUFFER to LDIRECTSOUNDBUFFER8 variable.
- Prev by Date: Re: How to copy source/data of LDIRECTSOUNDBUFFER to LDIRECTSOUNDBUFFER8 variable.
- Next by Date: Re: How to copy source/data of LDIRECTSOUNDBUFFER to LDIRECTSOUNDBUFFER8 variable.
- Previous by thread: Re: How to copy source/data of LDIRECTSOUNDBUFFER to LDIRECTSOUNDBUFFER8 variable.
- Next by thread: Re: How to copy source/data of LDIRECTSOUNDBUFFER to LDIRECTSOUNDBUFFER8 variable.
- Index(es):
Relevant Pages
|