player: define custom error class 40/57740/1 accepted/tizen/mobile/20160127.003557 accepted/tizen/tv/20160127.003830 accepted/tizen/wearable/20160127.004057 submit/tizen/20160126.082529
authorEunhae Choi <eunhae1.choi@samsung.com>
Fri, 22 Jan 2016 08:28:21 +0000 (17:28 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Fri, 22 Jan 2016 08:28:21 +0000 (17:28 +0900)
Change-Id: Iddd14c98d7deec4bf1208cf575ae4def0191ed5e

include/mobile/player.h
include/mobile/player_internal.h
include/wearable/player.h

index e1a9715..bec2e71 100644 (file)
@@ -27,6 +27,9 @@ extern "C" {
 
 #define PLAYER_ERROR_CLASS          TIZEN_ERROR_PLAYER | 0x20
 
+/* This is for custom defined player error. */
+#define PLAYER_CUSTOM_ERROR_CLASS   TIZEN_ERROR_PLAYER | 0x1000
+
 /**
  * @file player.h
  * @brief This file contains the media player API.
index 210e72e..6f168ff 100644 (file)
@@ -85,7 +85,6 @@ typedef void (*player_media_stream_buffer_status_cb_ex) (player_media_stream_buf
  * @retval #PLAYER_ERROR_NOT_SUPPORTD Not supported
  * @pre The player state must be #PLAYER_STATE_IDLE by player_create() or player_unprepare().
  * @post player_audio_pcm_extraction_cb() will be invoked.
- * @see player_unset_audio_frame_decoded_cb_ex()
  */
 int player_set_pcm_extraction_mode(player_h player, bool sync, player_audio_pcm_extraction_cb callback, void *user_data);
 
index c6f804d..086216c 100644 (file)
@@ -27,6 +27,9 @@ extern "C" {
 
 #define PLAYER_ERROR_CLASS          TIZEN_ERROR_PLAYER | 0x20
 
+/* This is for custom defined player error. */
+#define PLAYER_CUSTOM_ERROR_CLASS   TIZEN_ERROR_PLAYER | 0x1000
+
 /**
  * @file player.h
  * @brief This file contains the media player API.