- Timestamp:
- Nov 4, 2016 1:02:35 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Devices/Audio/DevHDA.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHDA.cpp
r64572 r64573 1181 1181 1182 1182 1183 #ifdef IN_RING3 1183 1184 /** 1184 1185 * Retrieves the number of bytes of a FIFOS register. … … 1234 1235 1235 1236 1236 #ifdef IN_RING31237 1237 DECLINLINE(uint32_t) hdaStreamUpdateLPIB(PHDASTATE pThis, PHDASTREAM pStream, uint32_t u32LPIB) 1238 1238 { … … 1348 1348 } 1349 1349 1350 /**1351 * Retrieves the minimum number of bytes accumulated/free in the1352 * FIFO before the controller will start a fetch/eviction of data.1353 *1354 * Uses SDFIFOW (FIFO Watermark Register).1355 *1356 * @return Number of bytes accumulated/free in the FIFO.1357 */1358 DECLINLINE(uint8_t) hdaStreamGetFIFOW(PHDASTATE pThis, PHDASTREAM pStream)1359 {1360 AssertPtrReturn(pThis, 0);1361 AssertPtrReturn(pStream, 0);1362 1363 # ifdef VBOX_HDA_WITH_FIFO1364 return hdaSDFIFOWToBytes(HDA_STREAM_REG(pThis, FIFOW, pStream->u8SD));1365 # else1366 return 0;1367 # endif1368 }1369 1370 #endif /* IN_RING3 */1371 1350 1372 1351 /** … … 1391 1370 return PDMAUDIODIR_OUT; 1392 1371 } 1372 #endif /* IN_RING3 */ 1373 1393 1374 1394 1375 static void hdaUpdateINTSTS(PHDASTATE pThis)
Note:
See TracChangeset
for help on using the changeset viewer.

