Changeset 61497 in vbox for trunk/src/VBox
- Timestamp:
- Jun 6, 2016 3:02:40 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r61496 r61497 2488 2488 * Check if all settings have default values. 2489 2489 */ 2490 bool AudioAdapter::areDefaultSettings( ) const2491 { 2492 return !fEnabled2490 bool AudioAdapter::areDefaultSettings(SettingsVersion_T sv) const 2491 { 2492 return (sv <= SettingsVersion_v1_14 ? fEnabled : !fEnabled) 2493 2493 && controllerType == AudioControllerType_AC97 2494 2494 && codecType == AudioCodecType_STAC9700 … … 5864 5864 } 5865 5865 5866 if (!hw.audioAdapter.areDefaultSettings( ))5866 if (!hw.audioAdapter.areDefaultSettings(m->sv)) 5867 5867 { 5868 5868 xml::ElementNode *pelmAudio = pelmHardware->createChild("AudioAdapter");
Note:
See TracChangeset
for help on using the changeset viewer.