m_fRate -> m_fSpeed
This commit is contained in:
@@ -2309,7 +2309,7 @@ void ScreenEdit::TransitionEditState( EditState em )
|
|||||||
LOG->Trace( "Starting playback at %f", fStartSeconds );
|
LOG->Trace( "Starting playback at %f", fStartSeconds );
|
||||||
|
|
||||||
RageSoundParams p;
|
RageSoundParams p;
|
||||||
p.m_fRate = GAMESTATE->m_SongOptions.GetCurrent().m_fMusicRate;
|
p.m_fSpeed = GAMESTATE->m_SongOptions.GetCurrent().m_fMusicRate;
|
||||||
p.m_StartSecond = fStartSeconds;
|
p.m_StartSecond = fStartSeconds;
|
||||||
p.m_bAccurateSync = true;
|
p.m_bAccurateSync = true;
|
||||||
p.StopMode = RageSoundParams::M_CONTINUE;
|
p.StopMode = RageSoundParams::M_CONTINUE;
|
||||||
|
|||||||
@@ -1325,7 +1325,7 @@ float ScreenGameplay::StartPlayingSong(float MinTimeToNotes, float MinTimeToMusi
|
|||||||
|
|
||||||
RageSoundParams p;
|
RageSoundParams p;
|
||||||
p.m_bAccurateSync = true;
|
p.m_bAccurateSync = true;
|
||||||
p.m_fRate = GAMESTATE->m_SongOptions.GetCurrent().m_fMusicRate;
|
p.m_fSpeed = GAMESTATE->m_SongOptions.GetCurrent().m_fMusicRate;
|
||||||
p.StopMode = RageSoundParams::M_CONTINUE;
|
p.StopMode = RageSoundParams::M_CONTINUE;
|
||||||
p.m_StartSecond = fStartSecond;
|
p.m_StartSecond = fStartSecond;
|
||||||
|
|
||||||
@@ -1483,7 +1483,7 @@ void ScreenGameplay::BeginScreen()
|
|||||||
|
|
||||||
RageSoundParams p;
|
RageSoundParams p;
|
||||||
p.m_bAccurateSync = true;
|
p.m_bAccurateSync = true;
|
||||||
p.m_fRate = 1.0f; //Force 1.0 playback speed
|
p.m_fSpeed = 1.0f; //Force 1.0 playback speed
|
||||||
p.StopMode = RageSoundParams::M_CONTINUE;
|
p.StopMode = RageSoundParams::M_CONTINUE;
|
||||||
p.m_StartSecond = startOffset;
|
p.m_StartSecond = startOffset;
|
||||||
m_pSoundMusic->Play( &p );
|
m_pSoundMusic->Play( &p );
|
||||||
|
|||||||
Reference in New Issue
Block a user