Timing and pitch fixes

This commit is contained in:
Jack Andersen
2016-05-19 00:12:32 -10:00
parent 93b9c93ea4
commit 5245a41567
11 changed files with 45 additions and 13 deletions

View File

@@ -409,6 +409,13 @@ void Sequencer::playSong(const unsigned char* arrData, bool dieOnEnd)
m_state = SequencerState::Playing;
}
void Sequencer::stopSong(bool now)
{
allOff(now);
m_arrData = nullptr;
m_state = SequencerState::Interactive;
}
void Sequencer::ChannelState::setVolume(float vol)
{
m_curVol = vol;