summaryrefslogtreecommitdiff
path: root/audio/sysvad/common.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/common.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/common.cpp')
-rw-r--r--audio/sysvad/common.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/audio/sysvad/common.cpp b/audio/sysvad/common.cpp
index f88ca093..9292c96d 100644
--- a/audio/sysvad/common.cpp
+++ b/audio/sysvad/common.cpp
@@ -302,7 +302,9 @@ class CAdapterCommon :
STDMETHODIMP_(VOID) Cleanup();
+#ifdef SYSVAD_USB_SIDEBAND
STDMETHODIMP_(NTSTATUS) UpdatePowerRelations(_In_ PIRP Irp);
+#endif // SYSVAD_USB_SIDEBAND
//=====================================================================
// friends
@@ -608,7 +610,9 @@ Return Value:
InterlockedDecrement(&CAdapterCommon::m_AdapterInstances);
ASSERT(CAdapterCommon::m_AdapterInstances == 0);
+#ifdef SYSVAD_USB_SIDEBAND
ASSERT(IsListEmpty(&m_PowerRelations));
+#endif // SYSVAD_USB_SIDEBAND
} // ~CAdapterCommon
//=============================================================================
@@ -2300,6 +2304,7 @@ CAdapterCommon::Cleanup()
EmptySubdeviceCache();
}
+#ifdef SYSVAD_USB_SIDEBAND
//=============================================================================
#pragma code_seg("PAGE")
NTSTATUS
@@ -2426,6 +2431,7 @@ Exit:
return status;
}
+#endif // SYSVAD_USB_SIDEBAND
//=============================================================================
#pragma code_seg("PAGE")