int camera_hal_interface_release_video_buffer(camera_hal_interface *h, int buffer_index);
int camera_hal_interface_stop_record(camera_hal_interface *h);
int camera_hal_interface_set_command(camera_hal_interface *h, int64_t command, void *value);
-int camera_hal_interface_get_command(camera_hal_interface *h, int64_t command, void *value);
+int camera_hal_interface_get_command(camera_hal_interface *h, int64_t command, void **value);
int camera_hal_interface_set_batch_command(camera_hal_interface *h, camera_batch_command_control_t *batch_command, int64_t *error_command);
#ifdef __cplusplus
int (*release_video_buffer)(void *camera_handle, int buffer_index);
int (*stop_record)(void *camera_handle);
int (*set_command)(void *camera_handle, int command, void *value);
- int (*get_command)(void *camera_handle, int command, void *value);
+ int (*get_command)(void *camera_handle, int command, void **value);
int (*set_batch_command)(void *camera_handle, camera_batch_command_control_t *batch_command, int64_t *error_command);
} camera_interface_t;
* @retval #CAMERA_ERROR_DEVICE_NOT_SUPPORTED The feature is not supported
* @see camera_get_command()
*/
-int camera_get_command(void *camera_handle, int64_t command, void *value);
+int camera_get_command(void *camera_handle, int64_t command, void **value);
/**
* @brief Sets a set of commands.
}
-int camera_hal_interface_get_command(camera_hal_interface *h, int64_t command, void *value)
+int camera_hal_interface_get_command(camera_hal_interface *h, int64_t command, void **value)
{
int ret = CAMERA_ERROR_NONE;