diff options
Diffstat (limited to 'src/libcamera/v4l2_controls.cpp')
-rw-r--r-- | src/libcamera/v4l2_controls.cpp | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/libcamera/v4l2_controls.cpp b/src/libcamera/v4l2_controls.cpp index 84258d99..64f0555f 100644 --- a/src/libcamera/v4l2_controls.cpp +++ b/src/libcamera/v4l2_controls.cpp @@ -144,23 +144,24 @@ V4L2ControlInfo::V4L2ControlInfo(const struct v4l2_query_ext_ctrl &ctrl) */ /** - * \fn V4L2Control::value() + * \fn V4L2Control::value() const * \brief Retrieve the value of the control * - * This method returns the cached control value, initially set by - * V4L2ControlList::add() and then updated when the controls are read or - * written with V4L2Device::getControls() and V4L2Device::setControls(). + * This method is a const version of V4L2Control::value(), returning a const + * reference to the value. * * \return The V4L2 control value */ /** - * \fn V4L2Control::setValue() - * \brief Set the value of the control - * \param value The new V4L2 control value + * \fn V4L2Control::value() + * \brief Retrieve the value of the control * - * This method stores the control value, which will be applied to the - * device when calling V4L2Device::setControls(). + * This method returns the cached control value, initially set by + * V4L2ControlList::add() and then updated when the controls are read or + * written with V4L2Device::getControls() and V4L2Device::setControls(). + * + * \return The V4L2 control value */ /** |