Changeset 68870 in vbox for trunk/src/VBox/Main
- Timestamp:
- Sep 26, 2017 9:37:39 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r68485 r68870 3020 3020 #endif /* VBOX_WITH_AUDIO_VIDEOREC */ 3021 3021 3022 GetExtraDataBoth(virtualBox, pMachine, "VBoxInternal2/Audio/Debug/Enabled", &strTmp); 3023 3024 if (!strTmp.isEmpty()) 3025 { 3026 LogRel(("Audio: Debugging enabled\n")); 3027 3022 3028 #ifdef VBOX_WITH_AUDIO_DEBUG 3023 # ifdef DEBUG_andy3024 strTmp = "1"; /* Always use the debugging backend. */3025 # else3026 GetExtraDataBoth(virtualBox, pMachine, "VBoxInternal2/Audio/Debug/Enabled", &strTmp);3027 # endif3028 if (!strTmp.isEmpty())3029 {3030 LogRel(("Audio: Debugging enabled\n"));3031 3032 3029 /* 3033 3030 * The audio debugging backend. … … 3044 3041 InsertConfigString(pLunL1, "Driver", "DebugAudio"); 3045 3042 InsertConfigNode (pLunL1, "Config", &pCfg); 3046 }3047 3043 #endif /* VBOX_WITH_AUDIO_DEBUG */ 3044 3045 /* 3046 * Tweak the logging groups. 3047 */ 3048 Utf8Str strLogGroups = "drv_host_audio.e.l.l2.l3.f+" \ 3049 "drv_audio.e.l.l2.l3.f+" \ 3050 "audio_mixer.e.l.l2.l3.f+" \ 3051 "dev_hda_codec.e.l.l2.l3.f+" \ 3052 "dev_hda.e.l.l2.l3.f+" \ 3053 "dev_ac97.e.l.l2.l3.f+" \ 3054 "dev_sb16.e.l.l2.l3.f"; 3055 3056 rc = RTLogGroupSettings(RTLogRelGetDefaultInstance(), strLogGroups.c_str()); 3057 if (RT_FAILURE(rc)) 3058 LogRel(("Audio: Setting debug logging failed, rc=%Rrc\n", rc)); 3059 } 3048 3060 3049 3061 #ifdef VBOX_WITH_AUDIO_VALIDATIONKIT
Note:
See TracChangeset
for help on using the changeset viewer.