diff --git a/stepmania/src/RageSound.cpp b/stepmania/src/RageSound.cpp index e49efe394e..f3adaecf7f 100644 --- a/stepmania/src/RageSound.cpp +++ b/stepmania/src/RageSound.cpp @@ -786,6 +786,11 @@ void RageSound::ApplyParams() m_pSource->SetProperty( "Speed", m_Param.m_fSpeed ); } +bool RageSound::SetProperty( const RString &sProperty, float fValue ) +{ + return m_pSource->SetProperty( sProperty, fValue ); +} + RageSoundParams::StopMode_t RageSound::GetStopMode() const { if( m_Param.StopMode != RageSoundParams::M_AUTO ) diff --git a/stepmania/src/RageSound.h b/stepmania/src/RageSound.h index 594ffad09d..ccba300079 100644 --- a/stepmania/src/RageSound.h +++ b/stepmania/src/RageSound.h @@ -144,6 +144,7 @@ public: int GetID() const { return m_iID; } void SetParams( const RageSoundParams &p ); const RageSoundParams &GetParams() const { return m_Param; } + bool SetProperty( const RString &sProperty, float fValue ); // // Lua