Changeset 73648 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Aug 14, 2018 11:40:23 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r73647 r73648 318 318 AC97STREAMSTATEAIO AIO; 319 319 #endif 320 /** Timestamp (in ns) of last DMA transfer. 321 * For output streams this is the last DMA read, 322 * for input streams this is the last DMA write. */ 323 uint64_t tsLastTransferNs; 324 /** Timestamp (in ns) of last DMA buffer read / write. */ 325 uint64_t tsLastReadWriteNs; 320 326 } AC97STREAMSTATE; 321 327 AssertCompileSizeAlignment(AC97STREAMSTATE, 8); … … 1115 1121 RTCircBufReleaseWriteBlock(pCircBuf, cbRead); 1116 1122 1123 pDstStream->State.tsLastReadWriteNs = RTTimeNanoTS(); 1124 1117 1125 if (pcbWritten) 1118 1126 *pcbWritten = cbRead; … … 1182 1190 break; 1183 1191 } 1192 1193 pSrcStream->State.tsLastReadWriteNs = RTTimeNanoTS(); 1184 1194 1185 1195 if (pcbRead) … … 2683 2693 } 2684 2694 } 2695 2696 pStream->State.tsLastTransferNs = RTTimeNanoTS(); 2685 2697 2686 2698 ichac97R3StreamUnlock(pStream);
Note:
See TracChangeset
for help on using the changeset viewer.