fix doxygen of player_destroy(), player_destroy() can be called anytime 39/71639/2
authorJihae Yi <jihae.yi@samsung.com>
Thu, 26 May 2016 09:06:58 +0000 (18:06 +0900)
committerJihae Yi <jihae.yi@samsung.com>
Fri, 27 May 2016 08:06:18 +0000 (17:06 +0900)
Change-Id: I47264b45c03c6776667c6624013164e1b6167e15

include/common/player.h
include/wearable/player.h

index 0cb5a52..faafab7 100644 (file)
@@ -421,7 +421,7 @@ int player_create(player_h *player);
  * @retval #PLAYER_ERROR_NONE Successful
  * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation
- * @pre  The player state must be set to #PLAYER_STATE_IDLE.
+ * @pre The player state must be one of these: #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @post The player state will be #PLAYER_STATE_NONE.
  * @see player_create()
  */
index 91e853c..c648c6a 100644 (file)
@@ -419,7 +419,7 @@ int player_create(player_h *player);
  * @retval #PLAYER_ERROR_NONE Successful
  * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation
- * @pre  The player state must be set to #PLAYER_STATE_IDLE.
+ * @pre The player state must be one of these: #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @post The player state will be #PLAYER_STATE_NONE.
  * @see player_create()
  */