[wdmaudiodev] Re: connect menu won't show up in windows8 RP

  • From: Matthew van Eerde <Matthew.van.Eerde@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 7 Jan 2013 16:52:23 +0000

I would suggest putting a breakpoint in your basic support handler to see when 
it gets called.

From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Danny
Sent: Saturday, January 5, 2013 11:33 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: connect menu won't show up in windows8 RP

I'm still stucked in this issue.

From the document of MSDN:  " If the client queries the filter for the jack 
description of a valid pin, but one that is not a bridge pin (and therefore has 
no jack description), the query succeeds (with status code STATUS_SUCCESS), but 
the property handler returns an empty jack description consisting of a 
KSMULTIPLE_ITEM structure and nothing else. "

I suspect the cause could be that I didn't return STATUS_SUCCESS for the query 
of JackDesc and JackDesc2 for non-bridge pin. But after some experiments, it 
has nothing to do with it.

If KsStudio is opened and KsMonitor is attached, the driver will receive 
PropertyRequest for Jack and Jack2 when user opens the Sound->PlayBack. And 
then the PropertyRequest for BtAudio. Thus the connect/disconnect menu will be 

But if KsMonitor is not attached, NO PropertyRequest will be sent to my driver 
when the PlayBack is opened, thus the connect/disconnect menu won't be 

I have thought about trying to get the WPP/ETW trace of audio stack or 
portcls.sys, but from the comments of the greate Mr Tim Roberts, these traces 
are not avaiable.

I don't have clue on how to debug it further.
Any insight or guidance would be appreciated.


Other related posts: