MCPcopy Create free account
hub / github.com/celtera/libremidi / poll

Method poll

bindings/python/pylibremidi.cpp:198–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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, {}); }

Callers

nothing calls this directly

Calls 1

try_dequeueMethod · 0.80

Tested by

no test coverage detected