| 154 | } |
| 155 | |
| 156 | void CSoundDriver::StepRow(stChannelID chan) { |
| 157 | stChanNote NoteData = m_pPlayerCursor->GetSong().GetActiveNote( |
| 158 | chan, m_pPlayerCursor->GetCurrentFrame(), m_pPlayerCursor->GetCurrentRow()); // // // |
| 159 | for (auto &cmd : NoteData.Effects) |
| 160 | if (HandleGlobalEffect(cmd)) |
| 161 | cmd = { }; |
| 162 | if (!parent_ || !parent_->IsChannelMuted(chan)) |
| 163 | QueueNote(chan, NoteData, NOTE_PRIO_1); |
| 164 | // Let view know what is about to play |
| 165 | if (parent_) |
| 166 | parent_->OnPlayNote(chan, NoteData); |
| 167 | } |
| 168 | |
| 169 | void CSoundDriver::PlayerTick() { |
| 170 | if (!m_pTempoCounter) |
no test coverage detected