[wdmaudiodev] Completing partial / empty frames in AvStrmMiniProcess()

  • From: wade <wdawson61@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Mon, 26 Jan 2004 07:51:27 -0800 (PST)

Hi. Two questions about capture in AVStream:
 
(a)
What is the proper way for an AvstrMiniPrcess() dispatch to handle frame 
starvation (i.e.) someone unplugs a s/pdif cable during capture in a 
pin-centric AVStream capture driver, with respect to StreamPointer advancement 
and return value?
 
(b) Is it necessary / common to ensure that frames contain an integral number 
of nBlockAlign-sized sample blocks?  i.e. 24 bit stereo, nBlockAlign = 6, so 
must a  240 byte frame have exactly 40 sample frames (Blocks 0 - 39 as read 
from HW)? (I ask this not so much in terms of frame size but in terms of sample 
block layout in the frame)
 
Thanks.
 


---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

Other related posts:

  • » [wdmaudiodev] Completing partial / empty frames in AvStrmMiniProcess()