X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fmm_camcorder_stillshot.c;h=da9edc3a4f03768d207514eb351580f1de41dc76;hb=3e3fcb7eedc07a5c517bc85a74cbd94e961091a7;hp=bc3b9f942fdfedc00373523fb796b6e128d7f791;hpb=161340ad388471a2b13a49d1f3745cab3d7ad884;p=platform%2Fcore%2Fmultimedia%2Flibmm-camcorder.git diff --git a/src/mm_camcorder_stillshot.c b/src/mm_camcorder_stillshot.c index bc3b9f9..da9edc3 100644 --- a/src/mm_camcorder_stillshot.c +++ b/src/mm_camcorder_stillshot.c @@ -335,11 +335,7 @@ int _mmcamcorder_image_cmd_capture(MMHandleType handle) info->multi_shot_stop = FALSE; /* sound init to pause other session */ -#ifdef _MMCAMCORDER_UPLOAD_SAMPLE - _mmcamcorder_sound_init(handle, _MMCAMCORDER_FILEPATH_CAPTURE2_SND); -#else /* _MMCAMCORDER_UPLOAD_SAMPLE */ _mmcamcorder_sound_init(handle); -#endif /* _MMCAMCORDER_UPLOAD_SAMPLE */ } _mmcam_dbg_log("preview(%dx%d,fmt:%d), capture(%dx%d,fmt:%d), count(%d), hdr mode(%d), interval (%d)", @@ -852,7 +848,6 @@ int _mmcamcorder_image_cmd_preview_stop(MMHandleType handle) _mmcam_dbg_log("deregister sound status callback"); vconf_ignore_key_changed(VCONFKEY_SETAPPL_SOUND_STATUS_BOOL, __sound_status_changed_cb); - mm_sound_volume_remove_callback(VOLUME_TYPE_SYSTEM); sc->info_image->sound_status = _SOUND_STATUS_INIT; }