winamp/Src/Plugins/Output/out_ds/ds2_misc.cpp

5 lines
160 B
C++
Raw Normal View History

2024-09-24 08:54:57 -04:00
#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));}