Changeset 61497 in vbox
- Timestamp:
- Jun 6, 2016 3:02:40 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/settings.h
r61138 r61497 624 624 AudioAdapter(); 625 625 626 bool areDefaultSettings( ) const;626 bool areDefaultSettings(SettingsVersion_T sv) const; 627 627 628 628 bool operator==(const AudioAdapter &a) const; -
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.