#define MMCAM_RECOMMEND_CAMERA_HEIGHT "recommend-camera-height"
/**
+ * Enable to play capture sound
+ */
+#define MMCAM_CAPTURE_SOUND_ENABLE "capture-sound-enable"
+
+/**
* Flip of video input stream.
* @see MMFlipType (in mm_types.h)
*/
#define MMCAM_DISPLAY_SOCKET_PATH "display-socket-path"
/**
- * PID for sound focus
+ * Client PID
*/
-#define MMCAM_PID_FOR_SOUND_FOCUS "pid-for-sound-focus"
+#define MMCAM_CLIENT_PID "client-pid"
/**
* Root directory of application
*/
#define MMCAM_GDBUS_CONNECTION "gdbus-connection"
+/**
+ * Replay gain enable
+ */
+#define MMCAM_AUDIO_REPLAY_GAIN_ENABLE "audio-replay-gain-enable"
+
+/**
+ * Reference level for replay gain
+ */
+#define MMCAM_AUDIO_REPLAY_GAIN_REFERENCE_LEVEL "audio-replay-gain-reference-level"
+
/*=======================================================================================
| ENUM DEFINITIONS |
========================================================================================*/
MM_CAM_STREAM_DATA_YUV420SP, /**< YUV420 SemiPlannar type - 2 planes */
MM_CAM_STREAM_DATA_YUV420P, /**< YUV420 Plannar type - 3 planes */
MM_CAM_STREAM_DATA_YUV422P, /**< YUV422 Plannar type - 3 planes */
- MM_CAM_STREAM_DATA_ENCODED /**< Encoded data type - 1 plane */
+ MM_CAM_STREAM_DATA_ENCODED, /**< Encoded data type - 1 plane */
+ MM_CAM_STREAM_DATA_DEPTH, /**< Depth data type - 1 plane */
+ MM_CAM_STREAM_DATA_RGB /**< RGB data type - 1 plane */
} MMCamStreamData;
struct {
unsigned char *data;
unsigned int length_data;
- } encoded;
+ } encoded, depth, rgb;
} data; /**< pointer of captured stream */
MMCamStreamData data_type; /**< data type */
unsigned int length_total; /**< total length of stream buffer (in byte)*/
* Most important resource that is released here is gstreamer pipeline of mm_camcorder.
* Because most of resources, such as camera device, video display device, and audio I/O device, are operating on the gstreamer pipeline,
* this function should be called to release its resources.
- * Moreover, mm_camcorder is controlled by audio session manager. If an user doesn't call this function when he want to release mm_camcorder,
- * other multimedia frameworks may face session problem. For more detail information, please refer mm_session module.
*
* @param[in] camcorder A handle of camcorder.
* @return This function returns zero(MM_ERROR_NONE) on success, or negative value with error code.\n