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

  • From: Danny <dangxhfromuestc@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Sun, 6 Jan 2013 15:33:27 +0800

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 displayed.

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 displayed.

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: