From: aravind.gara Date: Thu, 7 Sep 2017 06:46:16 +0000 (+0900) Subject: Removed warnings/Typo mistake rectified. X-Git-Tag: submit/tizen/20170912.020528^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4bcf5f603c782aa0d4d982a3d1760332bc7ab63d;p=platform%2Fcore%2Fapi%2Fsound-pool.git Removed warnings/Typo mistake rectified. Modified Maximum sound pool count. [Version] 0.0.6 [Issue Type] Enhancement Change-Id: I34e5ac3272bce2dd7caa7d75c26dd34b871a317c Signed-off-by: aravind.gara --- diff --git a/include/internal/soundpool.h b/include/internal/soundpool.h index 12fba91..fc987ce 100644 --- a/include/internal/soundpool.h +++ b/include/internal/soundpool.h @@ -56,7 +56,7 @@ typedef struct sound_pool_s { } sound_pool_t; /* Max amount of sound pools which could be created. */ -#define SOUND_POOL_MAX_POOLS_AMOUNT 32U +#define SOUND_POOL_MAX_POOLS_AMOUNT 8U sound_pool_error_e _sound_pool_create(sound_pool_t **pool); diff --git a/include/sound_pool.h b/include/sound_pool.h index bb00208..af40cd2 100644 --- a/include/sound_pool.h +++ b/include/sound_pool.h @@ -83,9 +83,10 @@ typedef void (*sound_pool_stream_state_changed_cb) (sound_pool_h pool, /** * @brief Creates a sound pool instance that can be used for sound sources * loading/unloading. - * @details Up to 32 sound pools can be created. Several pools can be active + * @details Up to 8 sound pools can be created. Several pools can be active * at the same time. Streams can be in playing state only when pool is - * active. + * active. Memory is allocated for sound pool. User should aware that + * creation of more number of pools means more memory is allocated. * @since_tizen 4.0 * @remarks When pool has been created, pool state is * #SOUND_POOL_STATE_INACTIVE. To activate the pool use @@ -100,7 +101,7 @@ typedef void (*sound_pool_stream_state_changed_cb) (sound_pool_h pool, * @retval #SOUND_POOL_ERROR_OUT_OF_MEMORY * Not enough memory to create sound pool * @retval #SOUND_POOL_ERROR_INVALID_OPERATION - * Maximal amount of sound pools is exceeded (maximum 32 pools allowed) + * Maximal amount of sound pools is exceeded (maximum 8 pools allowed) * * @see sound_pool_destroy() */ @@ -394,7 +395,7 @@ int sound_pool_stream_play(sound_pool_h pool, const char *tag, * @brief Pauses a stream by @a id. * @details Sets stream state to #SOUND_POOL_STREAM_STATE_PAUSED. * @since_tizen 4.0 - * @remarks Stream state has to be #SOUND_POOL_STATE_PLAYING + * @remarks Stream state has to be #SOUND_POOL_STREAM_STATE_PLAYING. * * @param[in] pool The sound pool handle * @param[in] id Unique stream identifier @@ -421,7 +422,7 @@ int sound_pool_stream_pause(sound_pool_h pool, unsigned id); * @brief Resumes a stream by @a id. * @details Sets stream state to #SOUND_POOL_STREAM_STATE_PLAYING. * @since_tizen 4.0 - * @remarks Stream state has to be #SOUND_POOL_STATE_PAUSED + * @remarks Stream state has to be #SOUND_POOL_STREAM_STATE_PAUSED. * * @param[in] pool The sound pool handle * @param[in] id Unique stream identifier diff --git a/packaging/capi-media-sound-pool.spec b/packaging/capi-media-sound-pool.spec index 8b5fb47..8b97ab9 100644 --- a/packaging/capi-media-sound-pool.spec +++ b/packaging/capi-media-sound-pool.spec @@ -1,5 +1,5 @@ Name: capi-media-sound-pool -Version: 0.0.5 +Version: 0.0.6 Summary: Tizen Sound Pool module Release: 0 Group: Multimedia/Framework