Changeset 87986 in vbox
- Timestamp:
- Mar 5, 2021 9:00:57 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudioCommon.cpp
r87861 r87986 1345 1345 return 0; 1346 1346 1347 /* @todo r=bird: How to do this w/o any floating point: 1348 * @code 1349 * ASMMultU32ByU32DivByU32(cFrames, RT_MS_1SEC, pProps->uHz); 1350 * // or 1351 * (uint64_t)cFrames * RT_MS_1SEC / pProps->uHz 1352 * @endcode 1353 */ 1347 1354 return cFrames / ((double)pProps->uHz / (double)RT_MS_1SEC); 1348 1355 }
Note:
See TracChangeset
for help on using the changeset viewer.