Changeset 73441 in vbox
- Timestamp:
- Aug 2, 2018 10:39:42 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 124068
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevSB16.cpp
r73432 r73441 1740 1740 if (RT_SUCCESS(rc2)) 1741 1741 { 1742 if (pStream->enmDir == PDMAUDIODIR_IN) 1742 rc2 = pConn->pfnStreamPlay(pConn, pStream, NULL /* cPlayed */); 1743 if (RT_FAILURE(rc2)) 1743 1744 { 1744 /** @todo Implement recording! */ 1745 LogFlowFunc(("%s: Failed playing stream, rc=%Rrc\n", pStream->szName, rc2)); 1746 continue; 1745 1747 } 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; 1761 1751 } 1762 1752
Note:
See TracChangeset
for help on using the changeset viewer.