mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-18 23:05:52 +01:00
5 lines
160 B
C++
5 lines
160 B
C++
|
#include "ds2.h"
|
||
|
|
||
|
UINT DS2::bytes2ms(UINT bytes) {return MulDiv(bytes,1000,fmt_mul);}
|
||
|
UINT DS2::ms2bytes(UINT ms) {return _align_var(MulDiv(ms,fmt_mul,1000));}
|