[wdmaudiodev] How to specify frame size

  • From: Igor Slewsarev <slewsarev@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Tue, 13 Apr 2004 10:19:45 -0700 (PDT)

Hi!

My avstream-based audio driver has the following
allocation requirements: from 256 bytes to 64K with
4K alignment.
I've found that 64K buffers (or greater) are always
used despite of the type of connected DirectShow
filter;
Sometimes buffers are not allocated properly (byte
alignment with AVI Mux).
I've also found that filters from system audio
capture devices category use different frame sizes
(large while writing to file, and small during
playback).

According to DXSDK all capture filters should
implement IAMBufferNegotiations IF. It seems
to me that KSproxy implementation of this IF is a
simple stub. So I need to expose my own implementa-
tion of this IF.
But How can I override this interface?
Maybe there is another way?


S.Y.
Igor.



        
                
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/
******************

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:

  • » [wdmaudiodev] How to specify frame size