VirtualBox

Changeset 78277 in vbox


Ignore:
Timestamp:
Apr 24, 2019 3:46:27 PM (6 years ago)
Author:
vboxsync
Message:

Main/Machine::applyDefaults: corrected audio configuration order.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r78261 r78277  
    1518215182
    1518315183    /* Audio stuff. */
     15184    AudioControllerType_T audioController;
     15185    rc = osType->COMGETTER(RecommendedAudioController)(&audioController);
     15186    if (FAILED(rc)) return rc;
     15187    rc = mAudioAdapter->COMSETTER(AudioController)(audioController);
     15188    if (FAILED(rc)) return rc;
     15189
    1518415190    AudioCodecType_T audioCodec;
    1518515191    rc = osType->COMGETTER(RecommendedAudioCodec)(&audioCodec);
    1518615192    if (FAILED(rc)) return rc;
    15187 
    1518815193    rc = mAudioAdapter->COMSETTER(AudioCodec)(audioCodec);
    15189     if (FAILED(rc)) return rc;
    15190 
    15191     AudioControllerType_T audioController;
    15192     rc = osType->COMGETTER(RecommendedAudioController)(&audioController);
    15193     if (FAILED(rc)) return rc;
    15194 
    15195     rc = mAudioAdapter->COMSETTER(AudioController)(audioController);
    1519615194    if (FAILED(rc)) return rc;
    1519715195
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