fix parameter order of mm_sound_register_focus_for_session 31/48431/1 accepted/tizen/mobile/20150922.001212 accepted/tizen/tv/20150922.001230 accepted/tizen/wearable/20150922.001244 submit/tizen/20150921.113827
authorHyongtaek Lim <hyongtaek.lim@samsung.com>
Mon, 21 Sep 2015 11:29:57 +0000 (20:29 +0900)
committerHyongtaek Lim <hyongtaek.lim@samsung.com>
Mon, 21 Sep 2015 11:30:23 +0000 (20:30 +0900)
Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
Change-Id: I153d79d3417bbb0df8e96e996f3b8dca722c6ac6

src/server/mm_player_sound_focus.c

index bd37036..836e4cd 100644 (file)
@@ -235,7 +235,7 @@ _mmplayer_sound_register(MMPlayerSoundFocus* sound_focus,
                }
 
                /* register sound focus callback */
-               ret = mm_sound_register_focus_for_session(pid, sound_focus->focus_id,
+               ret = mm_sound_register_focus_for_session(sound_focus->focus_id, pid,
                                stream_type, focus_cb, (void*)param);
                if (ret != MM_ERROR_NONE)
                {