Fix deadlock if sound stream info is set after audiosrc is created
[platform/core/multimedia/libmm-camcorder.git] / src / include / mm_camcorder_attribute.h
index 51ee5a4..4227e42 100644 (file)
@@ -54,8 +54,7 @@ extern "C" {
 /**
  * Enumerations for camcorder attribute ID.
  */
-typedef enum
-{
+typedef enum {
        MM_CAM_MODE,                                    /* 0 */
        MM_CAM_AUDIO_DEVICE,
        MM_CAM_CAMERA_DEVICE_COUNT,
@@ -156,7 +155,7 @@ typedef enum
        MM_CAM_CAMERA_FLIP,
        MM_CAM_CAMERA_HDR_CAPTURE,
        MM_CAM_DISPLAY_MODE,
-       MM_CAM_AUDIO_DISABLE,                   /* 100 */
+       MM_CAM_AUDIO_DISABLE,                           /* 100 */
        MM_CAM_RECOMMEND_CAMERA_WIDTH,
        MM_CAM_RECOMMEND_CAMERA_HEIGHT,
        MM_CAM_CAPTURED_EXIF_RAW_DATA,
@@ -166,21 +165,29 @@ typedef enum
        MM_CAM_DISPLAY_FLIP,
        MM_CAM_CAMERA_VIDEO_STABILIZATION,
        MM_CAM_TAG_VIDEO_ORIENTATION,
-       MM_CAM_VIDEO_WIDTH,                     /* 110 */
+       MM_CAM_CAMERA_PAN_MECHA,                        /* 110 */
+       MM_CAM_CAMERA_PAN_ELEC,
+       MM_CAM_CAMERA_TILT_MECHA,
+       MM_CAM_CAMERA_TILT_ELEC,
+       MM_CAM_CAMERA_PTZ_TYPE,
+       MM_CAM_VIDEO_WIDTH,
        MM_CAM_VIDEO_HEIGHT,
        MM_CAM_SUPPORT_ZSL_CAPTURE,
        MM_CAM_SUPPORT_ZERO_COPY_FORMAT,
        MM_CAM_SUPPORT_MEDIA_PACKET_PREVIEW_CB,
-       MM_CAM_ENCODED_PREVIEW_BITRATE,
+       MM_CAM_ENCODED_PREVIEW_BITRATE,         /* 120 */
        MM_CAM_ENCODED_PREVIEW_GOP_INTERVAL,
        MM_CAM_RECORDER_TAG_ENABLE,
        MM_CAM_DISPLAY_SOCKET_PATH,
        MM_CAM_PID_FOR_SOUND_FOCUS,
-       MM_CAM_ROOT_DIRECTORY,          /* 120 */
-       MM_CAM_SOUND_STREAM_TYPE,
+       MM_CAM_ROOT_DIRECTORY,
        MM_CAM_SOUND_STREAM_INDEX,
+       MM_CAM_SOUND_STREAM_TYPE,
+       MM_CAM_DISPLAY_REUSE_HINT,
+       MM_CAM_DISPLAY_REUSE_ELEMENT,
+       MM_CAM_GDBUS_CONNECTION,                        /* 130 */
        MM_CAM_ATTRIBUTE_NUM
-}MMCamcorderAttrsID;
+} MMCamcorderAttrsID;
 
 /*=======================================================================================
 | TYPE DEFINITIONS                                                                     |
@@ -338,12 +345,16 @@ bool _mmcamcorder_commit_capture_sound_enable(MMHandleType handle, int attr_idx,
 bool _mmcamcorder_commit_audio_volume(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 bool _mmcamcorder_commit_audio_input_route(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 bool _mmcamcorder_commit_audio_disable(MMHandleType handle, int attr_idx, const mmf_value_t *value);
+bool _mmcamcorder_commit_camera_format(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 bool _mmcamcorder_commit_camera_fps(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 bool _mmcamcorder_commit_camera_recording_motion_rate(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 bool _mmcamcorder_commit_camera_width(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 bool _mmcamcorder_commit_camera_height(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 bool _mmcamcorder_commit_video_size(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 bool _mmcamcorder_commit_camera_zoom(MMHandleType handle, int attr_idx, const mmf_value_t *value);
+bool _mmcamcorder_commit_camera_ptz_type(MMHandleType handle, int attr_idx, const mmf_value_t *value);
+bool _mmcamcorder_commit_camera_pan(MMHandleType handle, int attr_idx, const mmf_value_t *value);
+bool _mmcamcorder_commit_camera_tilt(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 bool _mmcamcorder_commit_camera_focus_mode(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 bool _mmcamcorder_commit_camera_af_scan_range(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 bool _mmcamcorder_commit_camera_af_touch_area(MMHandleType handle, int attr_idx, const mmf_value_t *value);
@@ -354,6 +365,8 @@ bool _mmcamcorder_commit_camera_video_stabilization(MMHandleType handle, int att
 bool _mmcamcorder_commit_camera_rotate(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 bool _mmcamcorder_commit_image_encoder_quality(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 bool _mmcamcorder_commit_target_filename(MMHandleType handle, int attr_idx, const mmf_value_t *value);
+bool _mmcamcorder_commit_encoder_bitrate(MMHandleType handle, int attr_idx, const mmf_value_t *value);
+bool _mmcamcorder_commit_recording_max_limit(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 bool _mmcamcorder_commit_filter(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 bool _mmcamcorder_commit_filter_scene_mode(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 bool _mmcamcorder_commit_filter_flip(MMHandleType handle, int attr_idx, const mmf_value_t *value);
@@ -374,6 +387,7 @@ bool _mmcamcorder_commit_encoded_preview_bitrate(MMHandleType handle, int attr_i
 bool _mmcamcorder_commit_encoded_preview_gop_interval(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 bool _mmcamcorder_commit_pid_for_sound_focus(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 bool _mmcamcorder_commit_sound_stream_info(MMHandleType handle, int attr_idx, const mmf_value_t *value);
+bool _mmcamcorder_commit_tag(MMHandleType handle, int attr_idx, const mmf_value_t *value);
 
 
 /**