- Timestamp:
- Nov 25, 2010 7:03:07 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchIntelHDA.cpp
r34271 r34350 1345 1345 { 1346 1346 uint32_t cb2Copy; 1347 if (u32SoundBackendBufferBytesAvail <= u32Fifos + 1) 1348 { 1349 /* Some platform offers buffer not multiplied on SDnFIFOS+1 value 1350 * so to avoid situation when the rest of the backend buffer is less 1351 * of SDnFIFOW value, we'll wait for next iteration with fresh buffer. 1352 */ 1353 return 0; 1354 } 1347 1355 /* 1348 1356 * Amounts of bytes depends on current position in buffer (u32BdleCviLen-u32BdleCviPos) … … 1575 1583 Assert((avail >= 0 && (u32Cbl >= (*pu32Lpib)))); /* sanity */ 1576 1584 uint32_t u32CblLimit = u32Cbl - (*pu32Lpib); 1585 Assert((u32CblLimit > hdaFifoWToSz(pState, u8Strm))); 1577 1586 Log(("hda: CBL=%d, LPIB=%d\n", u32Cbl, *pu32Lpib)); 1578 1587 switch (src)
Note:
See TracChangeset
for help on using the changeset viewer.