[wdmaudiodev] Re: DirectShow identification- help

  • From: "Mathieu Routhier" <mrouthier@xxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Fri, 17 Dec 2004 09:20:01 -0500

I suggest you write two different INFs; one for each of your HardwareID.
They will both point to your driver file, but they will have different
strings.  ...or you could also modify your current INF to fit all that in.
Is this just too simple?

Mat

-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Konrad Rozeslaniec
Sent: Friday, December 17, 2004 4:07 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: DirectShow identification- help

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

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
in
> the SYSTEM/CurrentControlSet/Controls/MediaCategories section that defines
> the Name associated for your filter guids.  Refer to the registry for
> examples.


******************

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/

******************

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: