Changeset 34156 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Nov 18, 2010 9:42:20 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchIntelHDA.cpp
r34154 r34156 1451 1451 cb2Copy = RT_MIN(cb2Copy, u32CblLimit); /* avoid LCBL overrun */ 1452 1452 } 1453 if ( ( cb2Copy == 0 1454 && pBdle->cbUnderFifoW < hdaFifoWToSz(pState, 4)) 1455 || cb2Copy < pBdle->cbUnderFifoW) 1456 { 1457 Log(("hda:wa: amount of bytes to copy is zero and (cbUnderFifoW:%d < %d)\n", pBdle->cbUnderFifoW, hdaFifoWToSz(pState, 4))); 1453 if (cb2Copy < pBdle->cbUnderFifoW) 1454 { 1455 Log(("hda:wa: amount of unreported bytes is less than room may be transfered (cbUnderFifoW:%d < %d)\n", pBdle->cbUnderFifoW, cb2Copy)); 1458 1456 *fStop = true; 1459 return 0;1460 } 1457 break; 1458 } 1461 1459 cb2Copy -= pBdle->cbUnderFifoW; /* force reserve "Unreported bits" */ 1462 1460 … … 1498 1496 pBdle->u32BdleCviPos += cb2Copy; 1499 1497 Assert((pBdle->cbUnderFifoW <= hdaFifoWToSz(pState, 4))); 1498 *fStop = true; 1500 1499 break; 1501 1500 }
Note:
See TracChangeset
for help on using the changeset viewer.