MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / _update_buffer

Method _update_buffer

modules/camera/camera_feed_linux.cpp:55–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void CameraFeedLinux::_update_buffer() {
56 while (!exit_flag.is_set()) {
57 _read_frame();
58 usleep(10000);
59 }
60}
61
62void CameraFeedLinux::_query_device(const String &p_device_name) {
63 file_descriptor = open(p_device_name.ascii().get_data(), O_RDWR | O_NONBLOCK, 0);

Callers 1

Calls 1

is_setMethod · 0.45

Tested by

no test coverage detected