change ASM_EVENT_SOURCE_OTHER_APP to ASM_EVENT_SOURCE_MEDIA
authorSangchul Lee <sc11.lee@samsung.com>
Thu, 10 Jan 2013 05:00:42 +0000 (14:00 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Thu, 10 Jan 2013 13:19:45 +0000 (22:19 +0900)
Change-Id: Ic5702a8c9c63d83d9445dc67c2571f4c9a4a0696

packaging/libmm-player.spec
src/mm_player_priv.c

index ac0220f..89b826f 100644 (file)
@@ -1,7 +1,7 @@
 
 Name:       libmm-player
 Summary:    Multimedia Framework Player Library
-Version:    0.2.7
+Version:    0.2.8
 Release:    0
 Group:      System/Libraries
 License:    Apache License, Version 2.0
index 8f5685a..c7926bc 100755 (executable)
@@ -5789,11 +5789,7 @@ __mmplayer_asm_callback(int handle, ASM_event_sources_t event_src, ASM_sound_com
        player->sm.by_asm_cb = 1; // it should be enabled for player state transition with called application command
        player->sm.event_src = event_src;
 
-       if(event_src == ASM_EVENT_SOURCE_OTHER_PLAYER_APP)
-       {
-               player->sm.event_src = ASM_EVENT_SOURCE_OTHER_APP;
-       }
-       else if(event_src == ASM_EVENT_SOURCE_EARJACK_UNPLUG )
+       if(event_src == ASM_EVENT_SOURCE_EARJACK_UNPLUG )
        {
                int stop_by_asm = 0;
 
@@ -5853,7 +5849,7 @@ __mmplayer_asm_callback(int handle, ASM_event_sources_t event_src, ASM_sound_com
                        
                        if(event_src == ASM_EVENT_SOURCE_CALL_START
                                || event_src == ASM_EVENT_SOURCE_ALARM_START
-                               || event_src == ASM_EVENT_SOURCE_OTHER_APP)
+                               || event_src == ASM_EVENT_SOURCE_MEDIA)
                        {
                                //hold 0.7 second to excute "fadedown mute" effect
                                debug_log ("do fade down->pause->undo fade down");