VirtualBox

Changeset 61496 in vbox


Ignore:
Timestamp:
Jun 6, 2016 2:43:25 PM (9 years ago)
Author:
vboxsync
Message:

Main/xml/Settings.cpp: fix audio enabled handling for VM configs file version 1.14, i.e. created by VirtualBox 4.3 (or fully compatible with it)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/Settings.cpp

    r61138 r61496  
    58965896             * and leave the rest alone.
    58975897             */
    5898     #if 0
     5898#if 0
    58995899            case AudioCodecType_SB16:
    59005900                pcszCodec = "SB16";
     
    59065906                pcszCodec = "STAC9700";
    59075907                break;
    5908     #endif
     5908#endif
    59095909            case AudioCodecType_AD1980:
    59105910                pcszCodec = "AD1980";
     
    59325932        pelmAudio->setAttribute("driver", pcszDriver);
    59335933
    5934         if (hw.audioAdapter.fEnabled)
     5934        if (hw.audioAdapter.fEnabled || m->sv <= SettingsVersion_v1_14)
    59355935            pelmAudio->setAttribute("enabled", hw.audioAdapter.fEnabled);
    59365936
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette