public V4LDevice(string path) { deviceHandle = Syscall.open(path, OpenFlags.O_RDWR); ioControl = new V4LIOControl(deviceHandle); buffers = new List<V4LBuffer>(); }
/// <summary> /// Creates a Video4Linux device. /// </summary> /// <param name="path">Path to the device.</param> public V4LDevice(string path) { deviceHandle = Syscall.open(path, OpenFlags.O_RDWR); ioControl = new V4LIOControl(deviceHandle); fetchDevice(); }