[wdmaudiodev] AVStream Capture question

  • From: wade <wdawson61@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 16 Jul 2003 17:00:58 -0700 (PDT)

Hi:
 
I'm writing a capture-only AVStreams driver for a simple piece of hardware. I 
get an ISR dispatch and queue my DPC to move x samples to AVStream frames.  In 
my AvStrMiniProcess (called on every frame arrival and loosely based on Avshws) 
routine I am advancing through the Avstream queue cloning pointers to each 
frame.  I return STATUSS_SUCCESS on the frames I'm able to clone and 
STATUS_PENDING on the ones I can't. In my DPC I step through the Clones using 
KsStreamPointerGetNextClone(), filling the frames and deleting the clone 
pointers as the frame is filled.
KSStudio never shows the frames being completed.   KS's dispatch timer is 
canceling them.
Is there an easier or better way to do this?  I'm about ready to break down and 
allocate a NonPaged buffer for my DPC to put samples in and fill the AVStream 
frames as they arrive in my AvStrMiniProcess routine.  Any help is greatly 
appreciated.
 
 
 


---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

Other related posts: