summaryrefslogtreecommitdiff
path: root/audio/sysvad/EndpointsCommon/speakertopo.cpp
diff options
context:
space:
mode:
authorJulia D'Zmura <[email protected]>2023-02-02 15:53:08 -0800
committerGitHub <[email protected]>2023-02-02 15:53:08 -0800
commit54a98a7e6af65ebc3a8ec92c7c09d94d0b44a6fd (patch)
tree9a159a9b2dde990a70ae5b62760236314f165c41 /audio/sysvad/EndpointsCommon/speakertopo.cpp
parent520c37087776a198544ab9b721d802dd30864736 (diff)
Updates to make Sysvad and SimpleAudioSample Windows Drivers Compliant (#845)
Updating sysvad and simpleaudiosample drivers.
Diffstat (limited to 'audio/sysvad/EndpointsCommon/speakertopo.cpp')
-rw-r--r--audio/sysvad/EndpointsCommon/speakertopo.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/audio/sysvad/EndpointsCommon/speakertopo.cpp b/audio/sysvad/EndpointsCommon/speakertopo.cpp
index fba72036..002b1174 100644
--- a/audio/sysvad/EndpointsCommon/speakertopo.cpp
+++ b/audio/sysvad/EndpointsCommon/speakertopo.cpp
@@ -75,6 +75,15 @@ Return Value:
0 // jack capabilities
);
}
+ else if (PropertyRequest->PropertyItem->Id == KSPROPERTY_JACK_DESCRIPTION3)
+ {
+ ntStatus = pMiniport->PropertyHandlerJackDescription3(
+ PropertyRequest,
+ ARRAYSIZE(SpeakerJackDescriptions),
+ SpeakerJackDescriptions,
+ 42 // jack config id
+ );
+ }
}
else if (IsEqualGUIDAligned(*PropertyRequest->PropertyItem->Set, KSPROPSETID_AudioResourceManagement))
{