VirtualBox

Changeset 63817 in vbox


Ignore:
Timestamp:
Sep 13, 2016 4:09:03 PM (8 years ago)
Author:
vboxsync
Message:

Audio/DevIchAc97.cpp: Check the stream's status register if a device stream state change actually is required.

File:
1 edited

Legend:

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

    r63816 r63817  
    558558
    559559    /* Check the stream's status register if a state change actually is required. */
    560     const bool fIsActive = RT_BOOL(pStream->Regs.sr & AC97_SR_DCH);
     560    const bool fIsActive = !RT_BOOL(pStream->Regs.sr & AC97_SR_DCH);
    561561
    562562    LogFunc(("[SD%RU8] fActive=%RTbool, fIsActive=%RTbool, cStreamsActive=%RU8\n",
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