[wdmaudiodev] Re: Hiding Audio Endpoint like USB device.

  • From: eno rocky <binoddummy@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Fri, 30 Nov 2018 17:16:21 +0530

Hi,

In fact nothing works,
I tried ,0x00000200 (FLOW_MASK_CAPTURE), 0x00000100 (FLOW_MASK_RENDER) and
as well as masking both 0x00000300 ,but no lucks. Why windows is ignoring
these PKEY entires?

On Fri, Nov 30, 2018 at 4:59 PM Matthew van Eerde <
dmarc-noreply@xxxxxxxxxxxxx> wrote:

Huh, TIL



That should work, but setting it to 0 won’t have any effect. You need to
specify FLOW_MASK_RENDER or FLOW_MASK_CAPTURE at a minimum.




https://docs.microsoft.com/en-us/windows-hardware/drivers/audio/pkey-audiodevice-enableendpointbydefault


------------------------------
*From:* wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx>
on behalf of eno rocky <binoddummy@xxxxxxxxx>
*Sent:* Friday, November 30, 2018 3:24:22 AM
*To:* wdmaudiodev@xxxxxxxxxxxxx
*Subject:* [wdmaudiodev] Re: Hiding Audio Endpoint like USB device.

Hi Mathew,

Thanks for answer.

I was wondering if i can use.
PKEY_AudioDevice_EnableEndpointByDefault

HKR,"EP\\0",%PKEY_AudioEndpoint_Association%,,%KSNODETYPE_AUDIO%

HKR,"EP\\0",%PKEY_AudioDevice_EnableEndpointByDefault%,0x00010001,0x00000000

but still this have no effect. Isn't it for disabling and enabling by
default?

Thanks,

On Fri, Nov 30, 2018 at 4:27 PM Matthew van Eerde <
dmarc-noreply@xxxxxxxxxxxxx> wrote:

No. The user gets to decide which endpoints are disabled, not the driver.


------------------------------
*From:* wdmaudiodev-bounce@xxxxxxxxxxxxx <
wdmaudiodev-bounce@xxxxxxxxxxxxx> on behalf of eno rocky <
binoddummy@xxxxxxxxx>
*Sent:* Friday, November 30, 2018 2:30:52 AM
*To:* wdmaudiodev@xxxxxxxxxxxxx
*Subject:* [wdmaudiodev] Re: Hiding Audio Endpoint like USB device.

Hi,

Instead of Connecting/Disconnecting JACK_DESCRIPTION or
Enabling/Disabling the KSCATEGORY_AUDIO interface. Is there a way so that
Endpoint will be in disable mode?
JACK_DESCRIPTION .IsConnected will make it in unplugged state and
Disabling  KSCATEGORY_AUDIO interface completely remove endpoint.
I just want it to in disable mode, as soon as dirver is installed. Is is
possible?

Thanks,

On Wed, Nov 28, 2018 at 10:59 PM eno rocky <binoddummy@xxxxxxxxx> wrote:

Hi Mathew,

Thanks for directions,
Yeah KSPROPERTY_JACK_DESCRIPTION  with
KSEVENT_PINCAPS_JACKINFOCHANGE was helpful and it works like charm.



On Tue, Nov 27, 2018 at 8:37 AM Robert Dalton <bob@xxxxxxxxxxxx> wrote:

Thanks Matthew.

How would I just disable the "Internal Aux Jack" at compile time?  Is
that ok, what is it's purpose?


Other related posts: