From: Hyunil Park Date: Thu, 9 Jul 2015 02:00:49 +0000 (+0900) Subject: add related features section to overview X-Git-Tag: accepted/tizen/mobile/20150710.003536~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8884bb02a08474a2004fb151f4978ec9ed339a1;p=platform%2Fcore%2Fapi%2Fplayer.git add related features section to overview Change-Id: I3f90ea9c8913bd3f34e24738582820b71fc276ed Signed-off-by: Hyunil Park --- diff --git a/doc/player_doc.h b/doc/player_doc.h index 534a2f5..390172b 100644 --- a/doc/player_doc.h +++ b/doc/player_doc.h @@ -298,6 +298,16 @@ * * + * @if WEARABLE + * @section CAPI_MEDIA_PLAYER_MODULE_FEATURE Related Features + * This API is related with the following features: + * - http://tizen.org/feature/network.internet + * + * It is recommended to design feature related codes in your application for reliability. + * You can check if a device supports the related features for this API by using @ref CAPI_SYSTEM_SYSTEM_INFO_MODULE, thereby controlling the procedure of your application. + * To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK. + * More details on featuring your application can be found from Feature Element. + * @endif */ diff --git a/src/player.c b/src/player.c index fe862ad..8cd367a 100644 --- a/src/player.c +++ b/src/player.c @@ -1487,6 +1487,8 @@ int player_set_sound_type(player_h player, sound_type_e type) PLAYER_STATE_CHECK(handle, PLAYER_STATE_IDLE); + LOGI("[%s] sound type = %d", __FUNCTION__, type); + int ret = mm_player_set_attribute(handle->mm_handle, NULL,"sound_volume_type" , type, (char*)NULL); if(ret != MM_ERROR_NONE) {