add FadeInSeconds property
This commit is contained in:
@@ -44,6 +44,7 @@ RageSoundParams::RageSoundParams():
|
||||
{
|
||||
m_StartSecond = 0;
|
||||
m_LengthSeconds = -1;
|
||||
m_fFadeInSeconds = 0;
|
||||
m_fFadeOutSeconds = 0;
|
||||
m_Volume = 1.0f;
|
||||
m_fPitch = 1.0f;
|
||||
@@ -581,6 +582,7 @@ void RageSound::ApplyParams()
|
||||
m_pSource->SetProperty( "Speed", m_Param.m_fSpeed );
|
||||
m_pSource->SetProperty( "StartSecond", m_Param.m_StartSecond );
|
||||
m_pSource->SetProperty( "LengthSeconds", m_Param.m_LengthSeconds );
|
||||
m_pSource->SetProperty( "FadeInSeconds", m_Param.m_fFadeInSeconds );
|
||||
m_pSource->SetProperty( "FadeSeconds", m_Param.m_fFadeOutSeconds );
|
||||
|
||||
float fVolume = m_Param.m_Volume * SOUNDMAN->GetMixVolume();
|
||||
|
||||
Reference in New Issue
Block a user