| 153 | } |
| 154 | |
| 155 | void Songbook::render(RenderCallback* renderCallback) { |
| 156 | for (auto& a : m_pendingAudio) |
| 157 | renderCallback->addAudio(a); |
| 158 | m_pendingAudio.clear(); |
| 159 | } |
| 160 | |
| 161 | void Songbook::keepAlive(String const& instrument, Vec2F const& position) { |
| 162 | if (instrument != m_instrument) { |