- Timestamp:
- Mar 31, 2015 10:50:05 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevSB16.cpp
r55021 r55025 1687 1687 #else 1688 1688 int rc = PDMDevHlpDMAReadMemory(pThis->pDevIns, nchan, tmpbuf, dma_pos, cbToRead, &cbRead); 1689 AssertMsgRC 1689 AssertMsgRC(rc, ("DMAReadMemory -> %Rrc\n", rc)); 1690 1690 #endif 1691 1691 … … 1711 1711 #endif /* VBOX_WITH_PDM_AUDIO_DRIVER */ 1712 1712 1713 Assert(cbToWrite >= cbWrittenMin); 1713 1714 cbToWrite -= cbWrittenMin; 1714 1715 dma_pos = (dma_pos + cbWrittenMin) % dma_len; 1715 1716 cbWrittenTotal += cbWrittenMin; 1716 1717 1717 if (!cbRead )1718 if (!cbRead || !cbWrittenMin) 1718 1719 break; 1719 1720 }
Note:
See TracChangeset
for help on using the changeset viewer.