expose SetProperty
This commit is contained in:
@@ -786,6 +786,11 @@ void RageSound::ApplyParams()
|
|||||||
m_pSource->SetProperty( "Speed", m_Param.m_fSpeed );
|
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
|
RageSoundParams::StopMode_t RageSound::GetStopMode() const
|
||||||
{
|
{
|
||||||
if( m_Param.StopMode != RageSoundParams::M_AUTO )
|
if( m_Param.StopMode != RageSoundParams::M_AUTO )
|
||||||
|
|||||||
@@ -144,6 +144,7 @@ public:
|
|||||||
int GetID() const { return m_iID; }
|
int GetID() const { return m_iID; }
|
||||||
void SetParams( const RageSoundParams &p );
|
void SetParams( const RageSoundParams &p );
|
||||||
const RageSoundParams &GetParams() const { return m_Param; }
|
const RageSoundParams &GetParams() const { return m_Param; }
|
||||||
|
bool SetProperty( const RString &sProperty, float fValue );
|
||||||
|
|
||||||
//
|
//
|
||||||
// Lua
|
// Lua
|
||||||
|
|||||||
Reference in New Issue
Block a user