Fixed editor: "music quits early on playback" and "record laying a hold leaves a tap near head"

This commit is contained in:
Chris Danford
2002-10-10 07:05:26 +00:00
parent 5c81cefb4b
commit 7a86e684a1
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -1210,7 +1210,7 @@ void ScreenEdit::InputRecord( const DeviceInput& DeviceI, const InputEventType t
else
{
const float fHoldEndSeconds = m_soundMusic.GetPositionSeconds();
const float fHoldStartSeconds = m_soundMusic.GetPositionSeconds() - TIME_BEFORE_SLOW_REPEATS * m_soundMusic.GetPlaybackRate();
const float fHoldStartSeconds = m_soundMusic.GetPositionSeconds() - TIME_BEFORE_SLOW_REPEATS * m_soundMusic.GetPlaybackRate() * 1.2f; // 1.2 is a fudge. This doesn't compensate enough for the repeat delay and leaves a tap note near the head of the hold.
float fStartBeat, fEndBeat, fThrowAway;
bool bFreeze;