summaryrefslogtreecommitdiff
path: root/audio/sysvad/adapter.cpp
diff options
context:
space:
mode:
authorDaniel Rugerio <[email protected]>2020-09-10 11:28:09 -0700
committerGitHub <[email protected]>2020-09-10 11:28:09 -0700
commit28f8fc7638b9149e05a7b15ec11cc08f9e6d7e86 (patch)
treefe5ec1c3cf077556b1f5cf7ffff80e2f29b75c68 /audio/sysvad/adapter.cpp
parentaaeca58c5e7b67740a603a3150db225670b42bb6 (diff)
Updates to SysVAD (#527)193191
* Fixed build errors when disabling sideband, * A note about the SysVAD sample and HLK testing.
Diffstat (limited to 'audio/sysvad/adapter.cpp')
-rw-r--r--audio/sysvad/adapter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/sysvad/adapter.cpp b/audio/sysvad/adapter.cpp
index 7cfa54ee..cc7960a5 100644
--- a/audio/sysvad/adapter.cpp
+++ b/audio/sysvad/adapter.cpp
@@ -1177,6 +1177,7 @@ Return Value:
switch (stack->MinorFunction)
{
+#ifdef SYSVAD_USB_SIDEBAND
case IRP_MN_QUERY_DEVICE_RELATIONS:
switch (stack->Parameters.QueryDeviceRelations.Type)
@@ -1203,6 +1204,7 @@ Return Value:
break;
}
break;
+#endif // SYSVAD_USB_SIDEBAND
case IRP_MN_REMOVE_DEVICE:
case IRP_MN_SURPRISE_REMOVAL: