VirtualBox

Changeset 73441 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Aug 2, 2018 10:39:42 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
124068
Message:

Audio/SB16: Path not needed (we don't implement recording for SB16 right now).

File:
1 edited

Legend:

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

    r73432 r73441  
    17401740        if (RT_SUCCESS(rc2))
    17411741        {
    1742             if (pStream->enmDir == PDMAUDIODIR_IN)
     1742            rc2 = pConn->pfnStreamPlay(pConn, pStream, NULL /* cPlayed */);
     1743            if (RT_FAILURE(rc2))
    17431744            {
    1744                 /** @todo Implement recording! */
     1745                LogFlowFunc(("%s: Failed playing stream, rc=%Rrc\n", pStream->szName, rc2));
     1746                continue;
    17451747            }
    1746             else
    1747             {
    1748                 rc2 = pConn->pfnStreamPlay(pConn, pStream, NULL /* cPlayed */);
    1749                 if (RT_FAILURE(rc2))
    1750                 {
    1751                     LogFlowFunc(("%s: Failed playing stream, rc=%Rrc\n", pStream->szName, rc2));
    1752                     continue;
    1753                 }
    1754             }
    1755 
    1756             if (pDrv->fFlags & PDMAUDIODRVFLAGS_PRIMARY)
    1757             {
    1758                 /* Only do the next DMA transfer if we're able to write the remaining data block. */
    1759                 fDoTransfer = pConn->pfnStreamGetWritable(pConn, pStream) > (unsigned)pThis->left_till_irq;
    1760             }
     1748
     1749            /* Only do the next DMA transfer if we're able to write the remaining data block. */
     1750            fDoTransfer = pConn->pfnStreamGetWritable(pConn, pStream) > (unsigned)pThis->left_till_irq;
    17611751        }
    17621752
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