VirtualBox

Changeset 89186 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 19, 2021 9:32:08 PM (4 years ago)
Author:
vboxsync
Message:

DevIchAc97: Don't disable during reset unless it was running. Mixer will assert. bugref:9890

File:
1 edited

Legend:

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

    r88991 r89186  
    28902890                            /* Make sure that Run/Pause Bus Master bit (RPBM) is cleared (0). */
    28912891                            Assert((pRegs->cr & AC97_CR_RPBM) == 0);
    2892 
    2893                             ichac97R3StreamEnable(pDevIns, pThis, pThisCC, pStream, pStreamCC, false /* fEnable */);
     2892                            if (pRegs->cr & AC97_CR_RPBM)
     2893                                ichac97R3StreamEnable(pDevIns, pThis, pThisCC, pStream, pStreamCC, false /* fEnable */);
     2894
    28942895                            ichac97R3StreamReset(pThis, pStream, pStreamCC);
    28952896
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