Changeset 87759 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Feb 15, 2021 12:15:18 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r87436 r87759 3052 3052 * HDA-specific parameters. 3053 3053 */ 3054 3055 3054 uint64_t uTmp; 3056 3055 GetExtraDataBoth(virtualBox, pMachine, "VBoxInternal2/Audio/Device/PosAdjustEnabled", &strTmp); 3057 3056 if (strTmp.isNotEmpty()) 3058 { 3059 uTmp = strTmp.toUInt64(); /* Returns 0 if not set / invalid -> means disabled. */ 3060 InsertConfigInteger(pCfg, "PosAdjustEnabled", uTmp); 3061 } 3057 InsertConfigInteger(pCfg, "PosAdjustEnabled", strTmp.equalsIgnoreCase("true") 3058 || strTmp.equalsIgnoreCase("1")); 3062 3059 3063 3060 GetExtraDataBoth(virtualBox, pMachine, "VBoxInternal2/Audio/Device/PosAdjustFrames", &strTmp); … … 3065 3062 { 3066 3063 uTmp = strTmp.toUInt64(); /* Ditto. */ 3067 InsertConfigInteger(pCfg, "PosAdjustFrames", uTmp);3064 InsertConfigInteger(pCfg, "PosAdjustFrames", uTmp); 3068 3065 } 3069 3066 3067 GetExtraDataBoth(virtualBox, pMachine, "VBoxInternal2/Audio/Device/TransferHeuristicsEnabled", &strTmp); 3068 if (strTmp.isNotEmpty()) 3069 InsertConfigInteger(pCfg, "TransferHeuristicsEnabled", strTmp.equalsIgnoreCase("true") 3070 || strTmp.equalsIgnoreCase("1")); 3070 3071 break; 3071 3072 }
Note:
See TracChangeset
for help on using the changeset viewer.