VirtualBox

Ignore:
Timestamp:
Dec 17, 2015 12:08:35 PM (9 years ago)
Author:
vboxsync
Message:

DevIchHda.cpp: Remove the RUN bit from SDnCTL on reset in case the stream was in a running state before.

File:
1 edited

Legend:

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

    r59172 r59174  
    41064106    LogFunc(("Resetting ...\n"));
    41074107
    4108     /* Stop any audio currently playing. */
     4108    /*
     4109     * Stop any audio currently playing and/or recording.
     4110     */
    41094111    PHDADRIVER pDrv;
    41104112    RTListForEach(&pThis->lstDrv, pDrv, HDADRIVER, Node)
     
    41564158
    41574159        if (pStrmSt)
     4160        {
     4161            /* Remove the RUN bit from SDnCTL in case the stream was in a running state before. */
     4162            HDA_STREAM_REG(pThis, CTL, u8Strm) &= ~HDA_REG_FIELD_FLAG_MASK(SDCTL, RUN);
     4163
    41584164            hdaStreamReset(pThis, pStrmSt, u8Strm);
     4165        }
    41594166    }
    41604167
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