Merge "Change uid and gid for service files" into tizen
[platform/core/uifw/tts.git] / server / ttsd_player.h
index 5fcbbe5..ffa0c37 100644 (file)
@@ -1,5 +1,5 @@
 /*
-*  Copyright (c) 2011-2014 Samsung Electronics Co., Ltd All Rights Reserved 
+*  Copyright (c) 2011-2016 Samsung Electronics Co., Ltd All Rights Reserved 
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
@@ -23,13 +23,13 @@ typedef enum {
        PLAYER_END_OF_PLAYING,
        PLAYER_EMPTY_SOUND_QUEUE,
        PLAYER_ERROR
-}player_event_e;
+} player_event_e;
 
 typedef enum {
        TTSD_PLAYER_STATE_NULL,
        TTSD_PLAYER_STATE_PAUSED,
        TTSD_PLAYER_STATE_PLAYING
-}ttsd_player_state_e;
+} ttsd_player_state_e;
 
 /*
 * TTSD Player Interfaces 
@@ -47,12 +47,18 @@ int ttsd_player_play(int uid);
 
 int ttsd_player_stop(int uid);
 
+int ttsd_player_clear(int uid);
+
 int ttsd_player_pause(int uid);
 
 int ttsd_player_resume(int uid);
 
 int ttsd_player_all_stop();
 
+int ttsd_player_play_pcm(int uid);
+
+int ttsd_player_check_current_playback_focus(bool *is_current_interrupt);
+
 #ifdef __cplusplus
 }
 #endif