VirtualBox

Changeset 91735 in vbox


Ignore:
Timestamp:
Oct 14, 2021 4:38:41 PM (3 years ago)
Author:
vboxsync
Message:

Audio/AC97: Make sure to update the stream's next transfer (if any) when restoring from a saved state (see commit for details). oem2ticketref:52.

File:
1 edited

Legend:

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

    r91687 r91735  
    37973797            && RT_SUCCESS(rc))
    37983798        {
     3799            /*
     3800             * We need to make sure to update the stream's next transfer (if any) when
     3801             * restoring from a saved state.
     3802             *
     3803             * Otherwise pStream->cDmaPeriodTicks always will be 0 and thus streams won't
     3804             * resume when running while the saved state has been taken.
     3805             *
     3806             * Also see oem2ticketref:52.
     3807             */
     3808            ichac97R3StreamTransferUpdate(pDevIns, pStream, pStreamCC);
     3809
    37993810            /* Re-arm the timer for this stream. */
    38003811            /** @todo r=aeichner This causes a VM hang upon saved state resume when NetBSD is used as a guest
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