My driver supports several PCM data source pins. All pins are connected to a
multiplexor that supports
KSPROPERTY_AUDIO_MUX_SOURCE. Each pin can either
be in active/accessible state (returns true in
KSJACK_DESCRIPTION::IsConnected) or in passive/inaccessible state
(returns false), so the Audio Properties applet shows them as
"Currently unavailable".
Running GAudiT from Win10 HLKs (up to 1903 one), I see that
GAudiT::Generic_Property_KSNODEPROPERTYULONG_Valid_Test_AUDIO_MUX_SOURCE
tries to set mux source index to a formally existing but currently
inaccessible line. My driver fails this request with
STATUS_INVALID_PARAMETER, and the test case
fails too. If all source lines are enabled, the test succeeds.
Should such test behavior be considered correct? If yes, how to avoid
test failure?
******************
WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/