18 auto response = urb->get_shared();
21 auto cb = response->get_callback();
22 cb->callback(response);
30 _transfer = std::shared_ptr<libusb_transfer>(libusb_alloc_transfer(0), [
this](libusb_transfer* req)
33 libusb_free_transfer(req);
35 LOG_ERROR(
"active request didn't return on time");
54 std::this_thread::sleep_for(std::chrono::milliseconds(10));
GLenum GLuint GLenum GLsizei length