| 196 | } |
| 197 | |
| 198 | void poll() { |
| 199 | poll_queue::midi_out_msg m; |
| 200 | while (queue.try_dequeue(m)) |
| 201 | boost::variant2::visit(*this, std::move(m)); |
| 202 | } |
| 203 | |
| 204 | void operator()(const poll_queue::error_message &msg) const noexcept { python_midi1_callbacks.on_error(msg.msg, {}); } |
| 205 | void operator()(const poll_queue::warning_message &msg) const noexcept { python_midi1_callbacks.on_warning(msg.msg, {}); } |
nothing calls this directly
no test coverage detected