Add new parameter to focus changed cb 17/81717/5 accepted/tizen/common/20160921.162232 accepted/tizen/ivi/20160922.042633 accepted/tizen/mobile/20160922.042402 accepted/tizen/tv/20160922.042505 accepted/tizen/wearable/20160922.042551 submit/tizen/20160921.041639
authorSangchul Lee <sc11.lee@samsung.com>
Thu, 28 Jul 2016 04:43:47 +0000 (13:43 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 20 Sep 2016 08:37:13 +0000 (17:37 +0900)
The prototype of the callback function has been changed.
 - refer to https://review.tizen.org/gerrit/#/c/81707/ (libmm-sound)

[Version] 0.10.74
[Profile] Common
[Issue Type] New function
[Dependency module] libmm-sound
[Dependency commit] https://review.tizen.org/gerrit/#/c/81707/

Change-Id: I7cfcd341a0bd240f2c510cb44d1dd11ff3838e97
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/libmm-camcorder.spec
src/include/mm_camcorder_internal.h
src/mm_camcorder_internal.c

index d0acdc4..b6c1381 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-camcorder
 Summary:    Camera and recorder library
-Version:    0.10.73
+Version:    0.10.74
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
index 53353e5..ac4fe80 100644 (file)
@@ -1262,7 +1262,7 @@ int _mmcamcorder_video_average_framerate(MMHandleType handle);
 void __mmcamcorder_force_stop(mmf_camcorder_t *hcamcorder);
 void _mmcamcorder_sound_focus_cb(int id, mm_sound_focus_type_e focus_type,
        mm_sound_focus_state_e focus_state, const char *reason_for_change,
-       const char *additional_info, void *user_data);
+       int option, const char *additional_info, void *user_data);
 void _mmcamcorder_sound_focus_watch_cb(int id, mm_sound_focus_type_e focus_type, mm_sound_focus_state_e focus_state,
        const char *reason_for_change, const char *additional_info, void *user_data);
 void _mmcamcorder_sound_signal_callback(mm_sound_signal_name_t signal, int value, void *user_data);
index 5e31315..c11e068 100644 (file)
@@ -3286,7 +3286,7 @@ DROP_MESSAGE:
 
 void _mmcamcorder_sound_focus_cb(int id, mm_sound_focus_type_e focus_type,
        mm_sound_focus_state_e focus_state, const char *reason_for_change,
-       const char *additional_info, void *user_data)
+       int option, const char *additional_info, void *user_data)
 {
        mmf_camcorder_t *hcamcorder = MMF_CAMCORDER(user_data);
        int current_state = MM_CAMCORDER_STATE_NONE;