Change-Id: Idc28812821e928d4d0a28acd0d793b5fcf8ecc91
int sound_step;
int sound_status;
int vibration_status;
+ int sound_changed_callback_id;
Eina_Bool is_vibration;
};
.sound_step = 0,
.sound_status = 0,
.vibration_status = 0,
+ .sound_changed_callback_id = 1,
.is_vibration = EINA_FALSE,
};
void volume_sound_mm_sound_init(void)
{
_D("MM sound Init");
- int ret = sound_manager_set_volume_changed_cb(_mm_func, NULL);
+ int ret = sound_manager_add_volume_changed_cb(_mm_func, NULL, &sound_info.sound_changed_callback_id);
if (ret != SOUND_MANAGER_ERROR_NONE)
_E("Failed to set volume changed event[%d]", ret);
}