Changeset 89852 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Jun 23, 2021 1:14:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r89595 r89852 3023 3023 if (strTmp.isEmpty()) 3024 3024 GetExtraDataBoth(virtualBox, pMachine, "VBoxInternal2/Audio/ValKit/Enabled", &strTmp); 3025 /* Whether the Validation Kit audio backend runs as the primary backend. 3026 * Can also be used with VBox release builds. */ 3025 3027 const bool fValKitEnabled = strTmp.equalsIgnoreCase("true") || strTmp.equalsIgnoreCase("1"); 3026 3028 #endif … … 3261 3263 * 3262 3264 * The ValidationKit audio driver has precedence over the Debug audio driver. 3265 * 3266 * This also can (and will) be used in VBox release builds. 3263 3267 */ 3264 3268 if (fValKitEnabled) … … 3266 3270 LogRel(("Audio: Warning: ValidationKit running and Debug mode enabled -- disabling Debug driver\n")); 3267 3271 } 3268 else 3269 { 3272 else /* Debug mode active -- run both (nice for catching errors / doing development). */ 3273 { 3274 /* 3275 * The ValidationKit backend. 3276 */ 3277 InsertConfigNodeF(pInst, &pLunL0, "LUN#%u", idxAudioLun); 3278 i_configAudioDriver(virtualBox, pMachine, pLunL0, "ValidationKitAudio", 3279 !!fAudioEnabledIn, !!fAudioEnabledOut); 3280 idxAudioLun++; 3270 3281 # endif /* VBOX_WITH_AUDIO_VALIDATIONKIT */ 3282 /* 3283 * The Debug audio backend. 3284 */ 3271 3285 InsertConfigNodeF(pInst, &pLunL0, "LUN#%u", idxAudioLun); 3272 i_configAudioDriver(virtualBox, pMachine, pLunL0, "DebugAudio", !!fAudioEnabledIn, !!fAudioEnabledOut); 3286 i_configAudioDriver(virtualBox, pMachine, pLunL0, "DebugAudio", 3287 !!fAudioEnabledIn, !!fAudioEnabledOut); 3273 3288 idxAudioLun++; 3274 3289 # ifdef VBOX_WITH_AUDIO_VALIDATIONKIT
Note:
See TracChangeset
for help on using the changeset viewer.