/// <summary> /// Creates a buffer to be used with Video4Linux streaming I/O. /// </summary> /// <param name="adapter">The parental Video4Linux device.</param> /// <param name="buffer">The struct holding the buffer information.</param> internal Buffer(Analog.Adapter adapter, v4l2_buffer buffer) { this.adapter = adapter; this.buffer = buffer; mapMemory(); }
internal void Set(Analog.Adapter adapter) { if (adapter.IoControl.SetFormat(ref format) < 0) { throw new Exception("VIDIOC_S_FMT"); } }
internal Input(Analog.Adapter adapter, v4l2_audio input) { this.adapter = adapter; this.input = input; }
public Stream(Analog.Adapter adapter) : base() { this.adapter = adapter; }