[wdmaudiodev] Re: Device enumeration and filtering.

  • From: Anton Shpakovsky <anton.shpakovsky@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 25 May 2011 15:35:21 +0700

Yep, i've done it.
But the devicepath value is actually not clear for me..

That's what I receive from my MSVAD based microphone:
"\\?\root#media#0002#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\wave"

And Virtual Cable for example returnes:
"\\?\root#media#0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\wave1"

AFAIK, 6994ad04-93ef-11d0-a3cc-00a0c9223196 stands for KSCATEGORY_AUDIO.
While "...\wave" simply represent the wave filter for the driver, correct? I
still do not get how to identify exactly my driver.. Or may be I can/must
change the wave filter name? I doubt..

Thanks.

On Wed, May 25, 2011 at 1:31 PM, Robert Bielik <robert.bielik@xxxxxxxxxx>wrote:

> Robert Bielik skrev 2011-05-25 08:27:
>
>> How do you get the "FriendlyName" property ? Try getting the "DevicePath"
>>> property instead. Here
>>> http://msdn.microsoft.com/en-us/library/dd377566(v=vs.85).aspx, I can
>>> see that
>>> "DevicePath" is available (although the doc says its for video capture
>>> devices only... I wonder...)
>>>
>>
>> If "DevicePath" doesn't work, you could get "WaveInID", then use
>> waveInMessage with DRV_QUERYDEVICEINTERFACE to get the device path...
>>
>
> This seems to follow that idea:
> http://social.msdn.microsoft.com/Forums/en-US/windowsdirectshowdevelopment/thread/232d858d-0bc6-417e-a66f-6041f950c943
>
> /Rob
> ******************
>
> 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.com/
>
>

Other related posts: