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



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:

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


.



Relevant Pages

  • Re: Sounds in PP 2007
    ... Still does not play. ... In Sound Tools click the little arrow to the right of "Sound Options" ... Echo http://www.echosvoice.com ... What's new in PPT 2007? ...
    (microsoft.public.powerpoint)
  • Re: MCI Media player problem & others
    ... Echo ... When I do set the acceleration to zero, ... But I don't have any video files in it. ... >>> this machine will not play. ...
    (microsoft.public.powerpoint)
  • Re: random file from folder
    ... There is a folder with mp3 files inside it. ... I want to randomly pick a file an play this. ... "%temp%.\randplay.bat" echo call:pause ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Playing DVDs with Mplayer?
    ... a couple of old public domain DVDs play here, eg The Birth of a Nation ... When the DVD menu is hindering the playing of the actual movie, ... rem mplayer_search_DVD.cmd ... echo This batch searches your DVD drive for playable movies ...
    (comp.os.os2.multimedia)
  • Re: Embedding asf file
    ... I have looked at those links, but they did not apply/assist in helping to ... > Echo ... >> It appears only as a black reserved space and no other element is on the ... >>> play from the action pane, ...
    (microsoft.public.powerpoint)