moved quantized() to public
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@167 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -149,7 +149,7 @@ void note::setPanning( const panning _panning )
|
||||
|
||||
|
||||
|
||||
inline midiTime note::quantized( const midiTime & _m, const int _q_grid )
|
||||
midiTime note::quantized( const midiTime & _m, const int _q_grid )
|
||||
{
|
||||
float p = ( (float) _m / _q_grid );
|
||||
if( p - floorf( p ) < 0.5f )
|
||||
|
||||
Reference in New Issue
Block a user