| 284 | } |
| 285 | |
| 286 | UsbControl::ResultCode UsbControl::setVideoTransferFunctionState(UsbControl::State state) |
| 287 | { |
| 288 | bool suspend = state == Enabled ? false : true; |
| 289 | int r = libusb_ext::set_feature_function_suspend(handle_, timeout_, suspend, suspend); |
| 290 | |
| 291 | UsbControl::ResultCode code; |
| 292 | CHECK_LIBUSB_RESULT(code, r) << "failed to set video transfer function state! " << WRITE_LIBUSB_ERROR(r); |
| 293 | return code; |
| 294 | } |
| 295 | |
| 296 | UsbControl::ResultCode UsbControl::setIrInterfaceState(UsbControl::State state) |
| 297 | { |
no test coverage detected