VirtualBox

Changeset 87988 in vbox


Ignore:
Timestamp:
Mar 5, 2021 9:44:36 PM (4 years ago)
Author:
vboxsync
Message:

DevHDA: Complain on underflows in DMA worker. bugref:9890

File:
1 edited

Legend:

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

    r87985 r87988  
    11881188    LogFlowFunc(("ENTER - #%u cbToProcessMax=%#x\n", uSD, cbToProcessMax));
    11891189
     1190    if (RT_LIKELY(cbToProcessMax >= pStreamShared->State.cbTransferSize))
     1191    { /*likely*/ }
     1192    else
     1193    {
     1194        /** @todo account for this or something so we can try get back in sync
     1195         *        later... */
     1196        LogFlowFunc(("Internal DMA/AIO buffer underflow (%#x, wanted at least %#x)\n", cbToProcessMax, pStreamShared->State.cbTransferSize));
     1197        /// @todo STAM_REL_COUNTER_INC(&pStreamR3->State.StatDmaUnderflow);
     1198    }
     1199
    11901200    hdaStreamLock(pStreamShared);
    11911201
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