[wdmaudiodev] Re: Full duplex audio filter

  • From: "Sam Tertzakian" <sam@xxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Fri, 22 Apr 2011 14:58:44 -0700

Generally, you would have a single Pin-Centric filter that has capture and
render pins. In this case, the pins will work independently. I have done
this several times and it certainly does work. AVStream mini drivers are not
"single threaded".

 

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Dale Hill
Sent: Friday, April 22, 2011 2:39 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Full duplex audio filter

 

All,

 

I'm working on a audio filter that used the AVStream Minidriver model. The
minidriver actually creates two separate filters: a filter-centric filter
for rendering and a pin-centric filter for capture. If the filter is only
rendering or only capturing it works just fine. However if the filter is
running in full duplex mode, the rendering seems to dominate the processing
such that the capture only occurs after the rendering has completed. 

 

Questions:

1. Has anyone experience this sort of thing before? Are there some things
about full-duplex rendering/capturing that I need to account for. Are
AVStream mini drivers inherently single threaded?

2. If this is a matter of slowing down the rendering side, can someone
recommend some techniques for doing so?

 

Any additional insight would be appreciated.

 

TIA,

Dale

 

 

Other related posts: