mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-04 04:21:01 -05:00
4 lines
160 B
C++
4 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));}
|