Remove unused functions 54/37354/1
authorKim Tae Soo <taesoo46.kim@samsung.com>
Wed, 25 Mar 2015 06:05:33 +0000 (15:05 +0900)
committerKim Tae Soo <taesoo46.kim@samsung.com>
Wed, 25 Mar 2015 06:05:33 +0000 (15:05 +0900)
Change-Id: Ia6741a870ae837651abaee453c77c8dba518e0db
Signed-off-by: Kim Tae Soo <taesoo46.kim@samsung.com>
include/playback-mgr.h
src/playback/playback-mgr.cpp

index 4e37b71..3edb5c8 100644 (file)
@@ -37,9 +37,6 @@ public:
        bool SetCallback(player_completed_cb cbPlaybackCompletion, void *data);
        bool UnsetCallback(void);
 
-       bool SetMute(bool flag);
-       bool SetLooping(bool flag);
-
        bool Start(void);
        bool Stop(void);
 
index d87c8bf..3906bf3 100644 (file)
@@ -139,36 +139,6 @@ bool CPlayback::UnsetCallback(void)
 }
 
 
-bool CPlayback::SetMute(bool flag)
-{
-       ASSERT(m);
-       ASSERT(m->player);
-
-       int r = player_set_mute(m->player, flag);
-       if (r != PLAYER_ERROR_NONE) {
-               _ERR("Player set mute failed");
-               return false;
-       }
-
-       return true;
-}
-
-
-bool CPlayback::SetLooping(bool flag)
-{
-       ASSERT(m);
-       ASSERT(m->player);
-
-       int r = player_set_looping(m->player, flag);
-       if (r != PLAYER_ERROR_NONE) {
-               _ERR("Player set looping failed");
-               return false;
-       }
-
-       return true;
-}
-
-
 bool CPlayback::Resume(void)
 {
        ASSERT(m);