Home
last modified time | relevance | path

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

/NW4C-1.3.3/sources/libraries/snd/
Dsnd_CurveAdshr.cpp132 void CurveAdshr::Update( int msec ) in Update() argument
138 while( msec > 0 ) in Update()
141 msec--; in Update()
156 if ( msec < m_HoldCounter ) in Update()
158 m_HoldCounter -= msec; in Update()
162 msec -= m_HoldCounter; in Update()
175 m_Value -= m_Decay * msec; in Update()
189 m_Value -= m_Release * msec; in Update()
Dsnd_CurveLfo.cpp70 void CurveLfo::Update( int msec ) in Update() argument
74 if ( m_DelayCounter + msec <= m_Param.delay ) in Update()
76 m_DelayCounter += msec; in Update()
81 msec -= m_Param.delay - m_DelayCounter; in Update()
86 m_Counter += m_Param.speed * msec / 1000.0f; in Update()
Dsnd_FxReverb.cpp26 inline f32 RoundUpToMsecPerFrame( u32 msec ) in RoundUpToMsecPerFrame() argument
28 return ( msec > MSEC_PER_FRAME ) ? msec : MSEC_PER_FRAME; in RoundUpToMsecPerFrame()
31 inline u32 ConvertMsecToSamples( f32 msec ) in ConvertMsecToSamples() argument
33 return static_cast<u32>( msec / MSEC_PER_FRAME ) * NN_SND_SAMPLES_PER_FRAME; in ConvertMsecToSamples()
/NW4C-1.3.3/include/nw/snd/
Dsnd_CurveLfo.h67 void Update( int msec );
Dsnd_CurveAdshr.h67 void Update( int msec );