include mm-sound package 75/56375/2 accepted/tizen/mobile/20160107.102023 accepted/tizen/tv/20160107.102043 accepted/tizen/wearable/20160107.102100 submit/tizen/20160107.063859
authorNAMJEONGYOON <just.nam@samsung.com>
Thu, 7 Jan 2016 06:22:13 +0000 (15:22 +0900)
committerNAMJEONGYOON <just.nam@samsung.com>
Thu, 7 Jan 2016 06:29:54 +0000 (15:29 +0900)
Change-Id: I8b9a429d6c0c6b8ee4a3a94d9cc90a481e639d67

CMakeLists.txt
packaging/legacy-capi-media-player.spec
src/player.c

index 7a2bfce..838b88f 100644 (file)
@@ -19,7 +19,7 @@ SET(INC_COM_DIR include)
 
 INCLUDE_DIRECTORIES(${INC_DIR}, ${INC_COM_DIR})
 
-SET(dependents "libtbm capi-media-tool dlog mm-player capi-base-common capi-media-sound-manager gstreamer-1.0 evas ecore elementary capi-system-info")
+SET(dependents "libtbm capi-media-tool dlog mm-player capi-base-common capi-media-sound-manager gstreamer-1.0 evas ecore elementary capi-system-info mm-sound")
 SET(pc_dependents "libtbm capi-media-tool capi-base-common capi-media-sound-manager")
 
 INCLUDE(FindPkgConfig)
index b5608c1..cc08dcb 100644 (file)
@@ -30,6 +30,7 @@ BuildRequires:  pkgconfig(capi-media-tool)
 BuildRequires:  pkgconfig(libtbm)
 #BuildRequires:  pkgconfig(ttrace)
 BuildRequires:  pkgconfig(capi-system-info)
+BuildRequires:  pkgconfig(mm-sound)
 
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
index c6bcb71..9039531 100644 (file)
@@ -35,6 +35,7 @@
 #endif
 #include <tbm_bufmgr.h>
 #include <tbm_surface_internal.h>
+#include <mm_sound.h>
 
 #define __JOB_KEY_PREPARED             "prepared"
 #define __JOB_KEY_ERROR                "error"
@@ -1409,7 +1410,7 @@ int player_set_sound_type(player_h player, sound_type_e type)
 
        PLAYER_STATE_CHECK(handle, PLAYER_STATE_IDLE);
 
-       bool sig_value = false;
+       int sig_value = 0;
 
        /* check if focus is released */
        mm_sound_get_signal_value(MM_SOUND_SIGNAL_RELEASE_INTERNAL_FOCUS, &sig_value);