Home
last modified time | relevance | path

Searched refs:msec (Results 1 – 5 of 5) sorted by relevance

/NW4C-2.0.3/sources/libraries/snd/
Dsnd_CurveAdshr.cpp134 void CurveAdshr::Update( int msec ) in Update() argument
140 while( msec > 0 ) in Update()
143 msec--; in Update()
158 if ( msec < m_HoldCounter ) in Update()
160 m_HoldCounter -= msec; in Update()
164 msec -= m_HoldCounter; in Update()
177 m_Value -= m_Decay * msec; in Update()
191 m_Value -= m_Release * msec; in Update()
Dsnd_CurveLfo.cpp72 void CurveLfo::Update( int msec ) in Update() argument
76 if ( m_DelayCounter + msec <= m_Param.delay ) in Update()
78 m_DelayCounter += msec; in Update()
83 msec -= m_Param.delay - m_DelayCounter; in Update()
88 m_Counter += m_Param.speed * msec / 1000.0f; in Update()
Dsnd_FxReverb.cpp28 inline f32 RoundUpToMsecPerFrame( u32 msec ) in RoundUpToMsecPerFrame() argument
30 return ( msec > MSEC_PER_FRAME ) ? msec : MSEC_PER_FRAME; in RoundUpToMsecPerFrame()
33 inline u32 ConvertMsecToSamples( f32 msec ) in ConvertMsecToSamples() argument
35 return static_cast<u32>( msec / MSEC_PER_FRAME ) * NN_SND_SAMPLES_PER_FRAME; in ConvertMsecToSamples()
/NW4C-2.0.3/include/nw/snd/
Dsnd_CurveLfo.h69 void Update( int msec );
Dsnd_CurveAdshr.h69 void Update( int msec );