Then I probably am using it incorrectly. Are there any example sources using
KSEVENTSETID_PinCapsChange/ KSEVENT_PINCAPS_FORMATCHANGE ? The sysvad example
uses only KSEVENT_PINCAPS_JACKINFOCHANGE.
From: wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto:wdmaudiodev-
bounce@xxxxxxxxxxxxx] On Behalf Of Matthew van Eerde
Sent: den 12 maj 2017 15:19
Subject: [wdmaudiodev] Re: VAD woes on Win 10
KSEVENTSETID_PinCapsChange should work. If it doesn't, please file a
problem report in the Feedback Hub and share a direct link.
From: Robert Bielik <mailto:Robert.Bielik@xxxxxxxxx>
Sent: Friday, May 12, 2017 6:16 AM
To: wdmaudiodev@xxxxxxxxxxxxx <mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] FW: VAD woes on Win 10
I'm trying to get my VAD to work on Win 10, it is based on the old msvad
WaveCyclic example (using Portcls).
In essence the problem is that the device, named "Wave", can change its
capabilities (#channels, samplerates aso) through a control interface. But
with the new and fancy caching of capabilities in Windows 10 (which I have
no clue what the use is for), whenever I change the caps from the first
registered caps, Sound control panel will not display the "Advanced" tab for
the device (where samplerates are selected), thereby rendering it useless.
One way to tell Windows that the caps has changed, is through the
KSEVENTSETID_PinCapsChange event. I post this whenever I bring up the
device, but alas, Windows does not seem to requery the capabilities. There
seems to be a bug in this mechanism acc. to these sources
So, the workaround seems to be to change the "Wave" name whenever the
caps change. So, I thought I'd make a naming scheme "Wave_XXXX" where
XXXX is a hash combination of #channels + all supported samplerates. But if I
do this, Sound control panel doesn't show my device at all, probably because
the "Wave" name that is also specified in the .inf file:
is not matched in the driver. So, the question is, how do I programmatically
do an "AddInterface" with the "Wave_XXXX" name so it can popup in the
Sound control panel ? Or is it possible to have AddInterface in the .inf file
with a wildcard ?
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
URL to WDMAUDIODEV page: