- Timestamp:
- Aug 11, 2017 9:20:23 AM (7 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHDA.h
r67899 r68379 192 192 HDAMIXERSINK SinkMicIn; 193 193 #endif 194 /** Last updated WALCLKcounter. */194 /** Last updated wall clock (WALCLK) counter. */ 195 195 uint64_t u64WalClk; 196 #ifdef DEBUG 197 /** Wall clock (WALCLK) stale count. 198 * This indicates the number of set wall clock 199 * values which do not actually move the counter forward (stale). */ 200 uint8_t u8WalClkStaleCnt; 201 uint8_t au8Padding2[7]; 202 #endif 196 203 /** Response Interrupt Count (RINTCNT). */ 197 204 uint8_t u8RespIntCnt; … … 199 206 uint8_t u8IRQL; 200 207 /** Padding for alignment. */ 201 uint8_t au8Padding 2[6];208 uint8_t au8Padding3[6]; 202 209 #ifdef DEBUG 203 210 HDASTATEDBGINFO Dbg; -
trunk/src/VBox/Devices/Audio/DevHDACommon.cpp
r67907 r68379 212 212 u64WalClk = RT_MAX(u64WalClkSet, u64MicInAbsWalClk); 213 213 #endif 214 AssertMsg(u64WalClkSet > u64WalClkCur, 215 ("Setting WALCLK to a stale or backward value (%RU64 -> %RU64) isn't a good idea really. " 216 "Good luck with stuck audio stuff.\n", u64WalClkCur, u64WalClkSet)); 214 215 #ifdef VBOX_STRICT 216 Assert(u64WalClkSet >= u64WalClkCur); /* Setting WALCLK to a value going backwards does not make any sense. */ 217 if (u64WalClkSet == u64WalClkCur) /* Setting a stale value? */ 218 { 219 if (pThis->u8WalClkStaleCnt++ > 3) 220 AssertMsgFailed(("Setting WALCLK to a stale value (%RU64) too often isn't a good idea really. " 221 "Good luck with stuck audio stuff.\n", u64WalClkSet)); 222 } 223 else 224 pThis->u8WalClkStaleCnt = 0; 225 #endif 217 226 } 218 227
Note:
See TracChangeset
for help on using the changeset viewer.