- Timestamp:
- Aug 11, 2017 9:27:29 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r68356 r68381 1607 1607 uint32_t cbReadable = pThis->pHostDrvAudio->pfnStreamGetReadable(pThis->pHostDrvAudio, pHstStream->pvBackend); 1608 1608 if (!cbReadable) 1609 break; 1609 { 1610 Log2Func(("[%s] No readable data available, skipping\n", pHstStream->szName)); 1611 break; 1612 } 1610 1613 1611 1614 uint32_t cbFree = AUDIOMIXBUF_F2B(&pHstStream->MixBuf, AudioMixBufFree(&pHstStream->MixBuf)); 1612 1615 if (!cbFree) 1613 break; 1616 { 1617 Log2Func(("[%s] Host buffer full, skipping\n", pHstStream->szName)); 1618 break; 1619 } 1614 1620 1615 1621 if (cbFree < cbReadable) /* More data captured than we can read? */ … … 1651 1657 } 1652 1658 1653 Log2Func(("[%s] %RU32 frames captured, rc=%Rrc\n", pHstStream->szName, cfCapturedTotal, rc)); 1659 if (RT_SUCCESS(rc)) 1660 { 1661 if (cfCapturedTotal) 1662 Log2Func(("[%s] %RU32 frames captured, rc=%Rrc\n", pHstStream->szName, cfCapturedTotal, rc)); 1663 } 1664 else 1665 LogFunc(("[%s] Capturing failed with rc=%Rrc\n", pHstStream->szName, rc)); 1654 1666 1655 1667 if (pcfCaptured)
Note:
See TracChangeset
for help on using the changeset viewer.