summaryrefslogtreecommitdiff
path: root/audio/sysvad/EndpointsCommon/mintopo.h
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/EndpointsCommon/mintopo.h
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/EndpointsCommon/mintopo.h')
-rw-r--r--audio/sysvad/EndpointsCommon/mintopo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/sysvad/EndpointsCommon/mintopo.h b/audio/sysvad/EndpointsCommon/mintopo.h
index 266fc81d..b4eda617 100644
--- a/audio/sysvad/EndpointsCommon/mintopo.h
+++ b/audio/sysvad/EndpointsCommon/mintopo.h
@@ -33,6 +33,8 @@ class CMiniportTopology :
{
private:
eDeviceType m_DeviceType;
+
+
union {
PVOID m_DeviceContext;
#if defined(SYSVAD_BTH_BYPASS) || defined(SYSVAD_USB_SIDEBAND)
@@ -55,6 +57,7 @@ public:
m_DeviceType(DeviceType),
m_DeviceContext(DeviceContext)
{
+
#if defined(SYSVAD_BTH_BYPASS) || defined(SYSVAD_USB_SIDEBAND)
if (IsSidebandDevice())
{
@@ -85,6 +88,7 @@ public:
_In_reads_(cJackDescriptions) PKSJACK_DESCRIPTION *JackDescriptions,
_In_ DWORD JackCapabilities
);
+
#if defined(SYSVAD_BTH_BYPASS) || defined(SYSVAD_USB_SIDEBAND)
BOOL IsSidebandDevice()