Changeset 68388 in vbox
- Timestamp:
- Aug 11, 2017 11:48:34 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/HDAStreamPeriod.cpp
r67702 r68388 29 29 #define LOG_GROUP LOG_GROUP_DEV_HDA 30 30 #include <VBox/log.h> 31 32 #include <iprt/asm-math.h> /* For ASMMultU64ByU32DivByU32(). */ 31 33 32 34 #include <VBox/vmm/pdmdev.h> … … 252 254 const uint32_t uHz = (pPeriod->u32Hz ? pPeriod->u32Hz : 1); 253 255 254 /* 24 MHz WallClock (WALCLK): 42ns resolution. */255 return ((uFrames * 24000 /* 24 MHz */) / uHz) * 1000;256 /* 24 MHz wall clock (WALCLK): 42ns resolution. */ 257 return ASMMultU64ByU32DivByU32(uFrames, 24000000, uHz); 256 258 } 257 259
Note:
See TracChangeset
for help on using the changeset viewer.