[wdmaudiodev] Re: DirectShow identification- help

  • From: Waldemar Haszlakiewicz <waldemar.haszlakiewicz@xxxxxxxx>
  • To: Waldemar Haszlakiewicz <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Sun, 19 Dec 2004 18:56:55 +0100

Another thing: I have just published(a week or two ago) how to register a 
filter in the code.
Check my posts and you+ll find it.

WH> If you register the filters in the code and not in the inf file you can
WH> get the filters pointers back. Then when the pin gets opened you get the
WH> filter's pointer from the KsPinGetParentFilter.




KR>> Not exactly. I have two identical filter factories for two hardware 
devices.
KR>> So both filters have the same friendly name (do they?). How can I
KR>> distinguish them?
KR>> For example: two identical PCI cards controlled by the same AVStream driver
KR>> (btw, I do pin-centric processing). Both appear as DirectShow filters of 
the
KR>> same type.But I want to instantiate filter for exatly the chosen card.
KR>> Actually the devices are not pci cards but child devices of a controller
KR>> device, so I can also pass some information from driver to application to
KR>> achieve desired result.

KR>> Konrad


>>> Basically, you want to give a different name to each one of your filters,
>>> right?  This is done in the INF; you have to add a registry key somewhere
KR>> in
>>> the SYSTEM/CurrentControlSet/Controls/MediaCategories section that defines
>>> the Name associated for your filter guids.  Refer to the registry for
>>> examples.


KR>> ******************

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

KR>> URL to WDMAUDIODEV page:
KR>> http://www.wdmaudiodev.de/

WH> ******************

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

WH> URL to WDMAUDIODEV page:
WH> 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

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.de/

Other related posts: