if (info->videodev_type != MM_VIDEO_DEVICE_NONE) {
/* init for gdbus */
+ hcamcorder->gdbus_info_sound.mm_handle = hcamcorder;
g_mutex_init(&hcamcorder->gdbus_info_sound.sync_mutex);
g_cond_init(&hcamcorder->gdbus_info_sound.sync_cond);
+
+ hcamcorder->gdbus_info_solo_sound.mm_handle = hcamcorder;
g_mutex_init(&hcamcorder->gdbus_info_solo_sound.sync_mutex);
g_cond_init(&hcamcorder->gdbus_info_solo_sound.sync_cond);
}
{
int played_idx = 0;
_MMCamcorderGDbusCbInfo *gdbus_info = NULL;
+ mmf_camcorder_t *hcamcorder = NULL;
_mmcam_dbg_log("entered");
}
gdbus_info = (_MMCamcorderGDbusCbInfo *)user_data;
+ hcamcorder = (mmf_camcorder_t *)gdbus_info->mm_handle;
g_variant_get(param, "(i)", &played_idx);
g_mutex_lock(&gdbus_info->sync_mutex);
- _mmcam_dbg_log("gdbus_info->param %d, played_idx : %d",
- gdbus_info->param, played_idx);
+ _mmcam_dbg_log("gdbus_info->param %d, played_idx : %d, handle : %p",
+ gdbus_info->param, played_idx, hcamcorder);
if (gdbus_info->param == played_idx) {
g_dbus_connection_signal_unsubscribe(connection, gdbus_info->subscribe_id);