- Timestamp:
- Jul 31, 2017 11:32:41 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.