[wdmaudiodev] Re: about DMA buffer

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Thu, 11 Sep 2008 10:16:11 -0700

karthiksharmasg@xxxxxxx wrote:
>              I am working with MSVAD for past 6 months and came to
> know its working a bit. The problem i am facing is with DMA buffer
> How to write data to the DMA buffer?
> My task is to get the audio stream output from the player and route
> this audio stream as an i/p to an Recorder application.
> i.e, get the data from the DMA buffer ( using IdmaChannel::Copyto or
> Copyto in BaseDMA.cpp) and to rewrite this data to the DMA buffer
> (using Idmachannel::copyfrom or Copyfrom in BaseDMA.cpp).
> I tried to write the data to an FIFO in the Copyto and in Copyfrom
> read the FIFO data and pass it to the DMAbuffer,but the method didnt
> worked good.

Why not?  What did it do?

You understand that you actually have two separate devices here -- a
simulated speaker and a simulated microphone.  How are you communicating
the buffer between the two devices?

Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.


WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx


Other related posts: