[wdmaudiodev] AVStream audio capture stalled?

  • From: "Mathieu Routhier" <mrouthier@xxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 27 Nov 2003 10:41:59 -0500

Hello experts,

I'll try my luck here.  I have written an AVStream audio driver: it
contains two filters factories: one for playback, one for capture.  My
playback filter works great but I'm having problems with my capture
filter.  Btw, I use pin-centric processing.

When I press record on 'sound recorder', the capture pin is created, its
format is set accordingly, its state gets switched to KSSTATE_RUN, but
then... nothing happens.  The pin process dispatch never gets called, no
matter if I call KsPinAttemptProcessing().  I also removed the
KSPIN_FLAG_DO_NOT_INITIATE_PROCESSING flag, which I needed to use.
Whatever I do, PinProcess does not get called, and
KsPinGetLeadingEdgeStreamPointer() always returns NULL.

I looked at the AVStream DDK samples but I didn't see anything special
that would have explained what I'm witnessing.  What's the problem with
my pin?  What am I missing?

Thank you very much for any help,
Mat

******************

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.de/

Other related posts: