expose SetProperty

This commit is contained in:
Glenn Maynard
2006-12-09 23:54:33 +00:00
parent 048de864a2
commit d30d0c0e76
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -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 )
+1
View File
@@ -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