Changeset 65164 in vbox
- Timestamp:
- Jan 5, 2017 5:45:12 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 112667
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/ConsoleImpl.h
r65162 r65164 190 190 int i_hgcmLoadService(const char *pszServiceLibrary, const char *pszServiceName); 191 191 VMMDev *i_getVMMDev() { return m_pVMMDev; } 192 AudioVRDE *i_getAudioVRDE() { return mAudioVRDE; }193 192 194 193 #ifdef VBOX_WITH_EXTPACK -
trunk/src/VBox/Main/src-client/ConsoleVRDPServer.cpp
r63563 r65164 5 5 6 6 /* 7 * Copyright (C) 2006-201 6Oracle Corporation7 * Copyright (C) 2006-2017 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 21 21 #include "KeyboardImpl.h" 22 22 #include "MouseImpl.h" 23 #ifdef VBOX_WITH_VRDE_AUDIO 23 24 #include "DrvAudioVRDE.h" 25 #endif 24 26 #ifdef VBOX_WITH_EXTPACK 25 27 # include "ExtPackManagerImpl.h" … … 956 958 ASMAtomicWriteU32(&pServer->mu32AudioInputClientId, 0); 957 959 960 #ifdef VBOX_WITH_VRDE_AUDIO 958 961 AudioVRDE *pVRDE = pServer->mConsole->i_getAudioVRDE(); 959 962 if (pVRDE) 960 963 pVRDE->onVRDEInputIntercept(false /* fIntercept */); 964 #endif 961 965 } 962 966 … … 1017 1021 LogFunc(("Intercepting audio input by client %RU32\n", u32ClientId)); 1018 1022 1023 #ifdef VBOX_WITH_VRDE_AUDIO 1019 1024 AudioVRDE *pVRDE = pServer->mConsole->i_getAudioVRDE(); 1020 1025 if (pVRDE) 1021 1026 pVRDE->onVRDEInputIntercept(true /* fIntercept */); 1027 #endif 1022 1028 } 1023 1029 else … … 1290 1296 AssertPtrReturnVoid(pServer); 1291 1297 1298 #ifdef VBOX_WITH_VRDE_AUDIO 1292 1299 AudioVRDE *pVRDE = pServer->mConsole->i_getAudioVRDE(); 1293 1300 if (!pVRDE) /* Nothing to do, bail out early. */ … … 1313 1320 break; 1314 1321 } 1322 #else 1323 RT_NOREF(pvCtx, u32Event, pvData, cbData); 1324 #endif /* VBOX_WITH_VRDE_AUDIO */ 1315 1325 } 1316 1326
Note:
See TracChangeset
for help on using the changeset viewer.