microsoft / Windows-driver-samples

This repo contains driver samples prepared for use with Microsoft Visual Studio and the Windows Driver Kit (WDK). It contains both Universal Windows Driver and desktop-only driver samples.
Microsoft Public License
6.75k stars 4.89k forks source link

How to enable device-specific audio device props? #1182

Open HEnquist opened 3 weeks ago

HEnquist commented 3 weeks ago

I'm testing the simple audio sample, and I'm trying to add a custom property via KSPROPERTY_AUDIO_DEV_SPECIFIC. The documentation says this property should show up in a new Custom tab in the device control panel, see https://learn.microsoft.com/en-us/windows-hardware/drivers/audio/ksproperty-audio-dev-specific#remarks

The sample driver seems to have the needed bits to add some properties, like a handler here: https://github.com/microsoft/Windows-driver-samples/blob/41b5bca9edf38ca02d5d034e9dd2afb99777a609/audio/simpleaudiosample/Source/Main/basetopo.cpp#L391

I can compile and install the sample driver but the Custom tab doesn't show up, so something is missing but I can't figure out what. Can someone point me in the right direction?