Windows will ignore driver name customizations for audio endpoints that have a
“Speakers”-ish KSPIN_DESCRIPTOR.Category.
________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on
behalf of Tim Roberts <timr@xxxxxxxxx>
Sent: Friday, May 25, 2018 11:46:00 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Friendly Names
I'm working on a wave-cyclic virtual audio driver. The client wants the
device and endpoint names customized, of course. Device name is easy,
in the INF file. The microphone name was also easy; create a
MediaCategories entry with the name, and point to the GUID in the Name
field of the KsPinDescriptor in the PCPIN_DESCRIPTOR in the topology device.
However, that same process did not work for the speaker endpoint. It
ends up being called "Speakers". I tried setting both the Name and the
Category in the PCPIN_DESCRIPTOR, I tried setting the Name in the
PCNODE_DESCRIPTOR, I tried setting the FriendlyName in the AddReg
section for the speaker AddInterface sections, but nothing works.
If I change the name by hand, I see the new name in three places:
- DeviceClasses for DEVINTERFACE_AUDIO_RENDER (which is different from
KSCATEGORY_RENDER) in FriendlyName
- Enum\SWD\MMDEVAPI\{0.0.0...} in DeviceDesc
- Enum\SWD\MMDEVAPI\{0.0.0...} in FriendlyName
How can I set this from my INF? Should I add an AddInterface for
DEVINTERFACE_AUDIO_RENDER?
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
******************
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:
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.wdmaudiodev.com%2F&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C9ab8b7da43d7419b972208d5c26fd579%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636628707962513808&sdata=MixoRXBhKHSBLymgtW7vdvQ%2FKr%2FPCpspkT%2FufNKK8qY%3D&reserved=0