[wdmaudiodev] Re: AVStream miniport driver design question

  • From: Waldemar Haszlakiewicz <waldemar.haszlakiewicz@xxxxxxxx>
  • To: Igor Slewsarev <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Tue, 28 Oct 2003 17:09:27 +0100

You can set first a filterFactory ("filter") with more than a stereo 
capabilities -> for those
programs which can have surround or similar features.
Then you can set a filterFactory for every stereo channel you have.

For filters you don't have to support any dispatch routines if you really don't 
need to ->
but you'll need them for pins.
KSPIN_DESCRIPTOR_EX definition can be the same for all channels (except for 
that multichannel one ->
where KSDATARANGE_AUDIO and similar will be different).

Take notice that in KSDATARANGE_AUDIO you define if the "pin" is a mono, 
stereo, multichannel one.

Now you need to register interfaces too -> you can do it in inf file or you can 
KsCreateFilterFactory or you can set everything in KSDEVICE_DESCRIPTOR already.

If you'll need any help with KsCreateFilterFactory just mail me and I'll help 
you out.

Now if you'll want to support MME and DirectX users you'll have to define 
one after another.
The second one will signal that you support DirectX to.

Sum: you just define need to define one KSPIN_DESCRIPTOR_EX and a second one 
for multichannel if you

Any other questions just ask.

Waldemar Haszlakiewicz

IS> Hi!

IS> I have a question concerning to the KS driver design,
IS> since I have to develop an AVStream miniport driver
IS> for PCI audio capture device which has 16 same input
IS> channels. 
IS> I've already implemented driver based on DDK AVSHWS
IS> sample for one channel. Now I should implement
IS> support for the rest channels, but I don't know how.
IS> Should I implement filter with 16 capture pins or
IS> should I implement 16 slightly different filters with
IS> one pin? Or it must be the only one filter with
IS> capture pin which supports some private interface to
IS> select the physical channel? I don't know which model
IS> is preferred from the point of view of different user
IS> mode applications.

IS> I will appreciate for any suggestions.

IS> S.Y.
IS> Igor Slewsarev

IS> __________________________________
IS> Do you Yahoo!?
IS> Exclusive Video Premiere - Britney Spears
IS> http://launch.yahoo.com/promos/britneyspears/
IS> ******************

IS> WDMAUDIODEV addresses:
IS> Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
IS> Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
IS> Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
IS> Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

IS> http://www.wdmaudiodev.de/


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


Other related posts: