Change-Id: Ia6741a870ae837651abaee453c77c8dba518e0db
Signed-off-by: Kim Tae Soo <taesoo46.kim@samsung.com>
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);
}
-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);