VirtualBox

Changeset 87264 in vbox for trunk/src


Ignore:
Timestamp:
Jan 15, 2021 11:16:46 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142223
Message:

Audio/HDA: Resolved a @todo.

File:
1 edited

Legend:

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

    r87262 r87264  
    15841584    }
    15851585
    1586     if (u32FIFOW) /** @todo r=bird: Logic error. it will never be zero, so why this check? */
    1587     {
    1588         pThis->aStreams[idxStream].u16FIFOW = hdaSDFIFOWToBytes(u32FIFOW);
    1589         LogFunc(("[SD%zu] Updating FIFOW to %u bytes\n", idxStream, pThis->aStreams[idxStream].u16FIFOW));
    1590         return hdaRegWriteU16(pDevIns, pThis, iReg, u32FIFOW);
    1591     }
    1592     return VINF_SUCCESS;
     1586    pThis->aStreams[idxStream].u16FIFOW = hdaSDFIFOWToBytes(u32FIFOW);
     1587    LogFunc(("[SD%zu] Updating FIFOW to %u bytes\n", idxStream, pThis->aStreams[idxStream].u16FIFOW));
     1588    return hdaRegWriteU16(pDevIns, pThis, iReg, u32FIFOW);
    15931589}
    15941590
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette