VirtualBox

Changeset 76047 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Dec 7, 2018 10:29:30 AM (6 years ago)
Author:
vboxsync
Message:

Audio/HDA: Got rid of a saved state hack in hdaR3LoadExec() which is not required anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevHDA.cpp

    r76022 r76047  
    40884088
    40894089        rc = SSMR3GetStructEx(pSSM, &pStream->State, sizeof(HDASTREAMSTATE),
    4090                               0 /* fFlags */, g_aSSMStreamStateFields7,
    4091                               NULL);
     4090                              0 /* fFlags */, g_aSSMStreamStateFields7, NULL);
    40924091        AssertRC(rc);
    40934092
     
    41074106        /*
    41084107         * Load period state.
    4109          * Don't annoy other team mates (forgot this for state v7).
    41104108         */
    41114109        hdaR3StreamPeriodInit(&pStream->State.Period,
    41124110                              pStream->u8SD, pStream->u16LVI, pStream->u32CBL, &pStream->State.Cfg);
    41134111
    4114         if (   SSMR3HandleRevision(pSSM) >= 116273
    4115             || SSMR3HandleVersion(pSSM)  >= VBOX_FULL_VERSION_MAKE(5, 2, 0))
    4116         {
    4117             rc = SSMR3GetStructEx(pSSM, &pStream->State.Period, sizeof(HDASTREAMPERIOD),
    4118                                   0 /* fFlags */, g_aSSMStreamPeriodFields7, NULL);
    4119             AssertRC(rc);
    4120         }
     4112        rc = SSMR3GetStructEx(pSSM, &pStream->State.Period, sizeof(HDASTREAMPERIOD),
     4113                              0 /* fFlags */, g_aSSMStreamPeriodFields7, NULL);
     4114        AssertRC(rc);
    41214115
    41224116        /*
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