[wdmaudiodev] Re: Loop Back Play and Record Ports

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Fri, 13 Mar 2009 10:02:57 -0700

Chandan Sourav Pal wrote:
>
> I have implemented a WaveRT driver for my audio card and it is
> working. For debugging purpose, I want to get back the played data via
> record channel, ie I want to make a loop between play and record
> channel inside driver. Any idea to achieve this?

The driver can't do this, because a WaveRT driver never sees the data.

What are you actually trying to debug?  If you're trying to debug the
actual WaveRT driver, what you're asking for won't help.  WaveRT driver
code is not involved in the streaming process.  It just sets up the DMA
pointers and gets out of the way.

If you're trying to debug the WaveRT hardware, I would think a speaker
and a microphone would be the best debug tools.

An application CAN do what you ask, by using the feedback output from
the audio renderer, but that's all done inside the audio engine
process.  It doesn't involve your driver at all.

-- 
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

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: