camera_set_manual_shutter_speed()

Change the manual shutter speed

Synopsis:

#include <camera/camera_3a.h>
camera_error_t camera_set_manual_shutter_speed(camera_handle_t handle,
                                               double shutterspeed)

Arguments:

handle
The handle returned by a call to the camera_open() function.
shutterspeed
The manual shutter speed (in seconds) to set.

Library:

libcamapi

Description:

Use this function to set the manual shutter speed on the camera. The value that you set using this function is only applied when the exposure mode is set to allow manual shutter speed control using camera_set_exposure_mode(). You can use camera_get_supported_manual_shutter_speeds() to determine the range of valid shutter speeds values that you can use.

For more information regarding when the value takes effect, see camapi_manual_settings and camera_exposuremode_t.

The viewfinder must be running before calling this function.

Returns:

CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.