debug_enter("(Slot : %d) stop-by-user : %d", param, g_slots[param].stop_by_user);
- if (g_slots[param].stop_by_user == false)
+ if (!g_slots[param].stop_by_user) {
SLOT_LOCK();
-
- __mm_sound_mgr_ipc_notify_play_file_end(param);
- debug_msg("Client callback msg_type (instance) : [%d]", (int)g_slots[param].param);
+ __mm_sound_mgr_ipc_notify_play_file_end(param);
+ debug_msg("Client callback msg_type (instance) : [%d]", (int)g_slots[param].param);
+ }
debug_msg("Handle allocated handle : [%p]", g_slots[param].plughandle);
err = g_plugins[g_slots[param].pluginid].Destroy(g_slots[param].plughandle);
if (_mm_sound_mgr_codec_slot_is_empty())
_mm_sound_mgr_codec_shutdown_timer_start();
- if (g_slots[param].stop_by_user == false)
+ if (!g_slots[param].stop_by_user)
SLOT_UNLOCK();
debug_fleave();