- Timestamp:
- Oct 2, 2017 4:46:26 PM (7 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
-
Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp (modified) (3 diffs)
-
Main/src-client/DisplayImpl.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp
r68877 r68958 129 129 values["false"] = false; 130 130 /* Return known value or true otherwise: */ 131 return values.value(strValue, true);131 return values.value(strValue, false); 132 132 } 133 133 … … 149 149 values[true] = "true"; 150 150 values[false] = "false"; 151 /* Return known value or " true" otherwise: */152 return values.value(fValue, " true");151 /* Return known value or "false" otherwise: */ 152 return values.value(fValue, "false"); 153 153 } 154 154 … … 198 198 int iIndex = aKeys.indexOf(enmOption); 199 199 if (iIndex == -1) 200 return true;200 return false; /* If option is missing, assume disabled (false). */ 201 201 return aValues.value(iIndex); 202 202 } -
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r68947 r68958 2559 2559 #endif 2560 2560 2561 /* Note: Audio support is considered as being experimental .2561 /* Note: Audio support is considered as being experimental, thus it's disabled by default. 2562 2562 * There be dragons! */ 2563 2563 #ifdef VBOX_WITH_AUDIO_VIDEOREC 2564 pCfg->Audio.fEnabled = pCfg->fEnabled;2564 pCfg->Audio.fEnabled = false; 2565 2565 /* By default we use 48kHz, 16-bit, stereo for the audio track. */ 2566 2566 pCfg->Audio.uHz = 48000; … … 2606 2606 { 2607 2607 #ifdef VBOX_WITH_AUDIO_VIDEOREC 2608 if (value.compare(" false", Utf8Str::CaseInsensitive) == 0)2608 if (value.compare("true", Utf8Str::CaseInsensitive) == 0) 2609 2609 { 2610 pCfg->Audio.fEnabled = false; 2610 pCfg->Audio.fEnabled = true; 2611 2612 } 2613 else 2611 2614 LogRel(("VideoRec: Only video will be recorded\n")); 2612 }2613 2615 #endif 2614 2616 }
Note:
See TracChangeset
for help on using the changeset viewer.

