Changeset 68193 in vbox
- Timestamp:
- Jul 31, 2017 11:32:41 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r68163 r68193 440 440 VBOX_WITH_AUDIO_PULSE = 1 441 441 endif 442 ifeq ($(KBUILD_TYPE),debug) 443 ## @todo Only build if running on test boxes? 444 VBOX_WITH_AUDIO_DEBUG = 445 endif 442 # Enable building debugging backend. 443 # Only will be used at runtime when "VBoxInternal2/Audio/Debug/Enabled" (VM / global) is set. 444 VBOX_WITH_AUDIO_DEBUG = 1 446 445 # Enable PCI passthrough support. 447 446 VBOX_WITH_PCI_PASSTHROUGH = 1 -
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r68026 r68193 3000 3000 3001 3001 #ifdef VBOX_WITH_AUDIO_DEBUG 3002 /* 3003 * The audio debug backend. Only can be used in debug builds. 3004 */ 3005 CFGMR3InsertNodeF(pInst, &pLunL1, "LUN#%RU8", u8AudioLUN++); 3006 InsertConfigString(pLunL1, "Driver", "AUDIO"); 3007 3008 InsertConfigNode(pLunL1, "AttachedDriver", &pLunL1); 3009 InsertConfigString(pLunL1, "Driver", "DebugAudio"); 3010 3011 InsertConfigNode(pLunL1, "Config", &pCfg); 3012 InsertConfigString(pCfg, "AudioDriver", "DebugAudio"); 3013 InsertConfigString(pCfg, "StreamName", bstr); 3002 # ifdef DEBUG_andy 3003 strTmp = "1"; /* Always use the debugging backend. */ 3004 # else 3005 GetExtraDataBoth(virtualBox, pMachine, "VBoxInternal2/Audio/Debug/Enabled", &strTmp); 3006 # endif 3007 if (!strTmp.isEmpty()) 3008 { 3009 LogRel(("Audio: Debugging enabled\n")); 3010 3011 /* 3012 * The audio debugging backend. 3013 */ 3014 CFGMR3InsertNodeF(pInst, &pLunL1, "LUN#%RU8", u8AudioLUN++); 3015 InsertConfigString(pLunL1, "Driver", "AUDIO"); 3016 3017 InsertConfigNode(pLunL1, "AttachedDriver", &pLunL1); 3018 InsertConfigString(pLunL1, "Driver", "DebugAudio"); 3019 3020 InsertConfigNode(pLunL1, "Config", &pCfg); 3021 InsertConfigString(pCfg, "AudioDriver", "DebugAudio"); 3022 } 3014 3023 #endif /* VBOX_WITH_AUDIO_DEBUG */ 3015 3024
Note:
See TracChangeset
for help on using the changeset viewer.