You can use KSPROPERTY_JACK_DESCRIPTION to indicate the connected-ness of the
endpoint, in particular KSJACK_DESCRIPTION.IsConnected. Raise a
KSEVENT_PINCAPS_JACKINFOCHANGE event when the status changes so Windows knows
when to requery.
Or more simply, programmatically enable and disable the KSCATEGORY_AUDIO
interface as the audio endpoint is available or unavailable.
________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on
behalf of eno rocky <binoddummy@xxxxxxxxx>
Sent: Thursday, November 22, 2018 3:35:06 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Hiding Audio Endpoint like USB device.
Hi,
Is there any way to hide audio endpoint of virtual driver, like usb drivers
audio endpoint (Which becomes active only after device plugged in). How this
can be achieved in virtual audio driver emulating through application.