Changeset 87367 in vbox
- Timestamp:
- Jan 22, 2021 1:33:36 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r87242 r87367 2932 2932 hrc = audioAdapter->COMGETTER(AudioCodec)(&enmAudioCodec); H(); 2933 2933 2934 GetExtraDataBoth(virtualBox, pMachine, "VBoxInternal2/Audio/Device/TimerHz", &strTmp); 2935 const uint64_t uTimerHz = strTmp.toUInt64(); 2936 2934 2937 GetExtraDataBoth(virtualBox, pMachine, "VBoxInternal2/Audio/Debug/Enabled", &strTmp); 2935 2938 const bool fDebugEnabled = strTmp.equalsIgnoreCase("true") || strTmp.equalsIgnoreCase("1"); … … 2964 2967 default: AssertFailedBreak(); 2965 2968 } 2969 if (uTimerHz) 2970 InsertConfigInteger(pCfg, "TimerHz", uTimerHz); 2966 2971 InsertConfigInteger(pCfg, "DebugEnabled", fDebugEnabled); 2967 2972 if (strDebugPathOut.isNotEmpty()) … … 2983 2988 InsertConfigInteger(pCfg, "Port", 0x220); 2984 2989 InsertConfigInteger(pCfg, "Version", 0x0405); 2990 if (uTimerHz) 2991 InsertConfigInteger(pCfg, "TimerHz", uTimerHz); 2985 2992 break; 2986 2993 } … … 2995 3002 hrc = pBusMgr->assignPCIDevice(pszAudioDevice, pInst); H(); 2996 3003 InsertConfigNode(pInst, "Config", &pCfg); 3004 if (uTimerHz) 3005 InsertConfigInteger(pCfg, "TimerHz", uTimerHz); 2997 3006 InsertConfigInteger(pCfg, "DebugEnabled", fDebugEnabled); 2998 3007 if (strDebugPathOut.isNotEmpty())
Note:
See TracChangeset
for help on using the changeset viewer.