From: Gilbok Lee Date: Thu, 1 Sep 2016 11:09:54 +0000 (+0900) Subject: Expand the prestate of radio_scan_start function. X-Git-Tag: accepted/tizen/3.0/common/20161114.105301^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=85e624b67eefb41016063f4b363b18ebaa76d932;p=platform%2Fcore%2Fapi%2Fradio.git Expand the prestate of radio_scan_start function. radio_scan_start function is possible playing state [Version] 0.1.3 [Profile] Common [Issue Type] Tizen Mobile Platform Requirement Change-Id: I50455c5da1b98415fc3e9b62c62c3c4e87096a31 Signed-off-by: Gilbok Lee --- diff --git a/doc/image/capi_media_radio_state_diagram.png b/doc/image/capi_media_radio_state_diagram.png index dad0dc9..5f67f51 100755 Binary files a/doc/image/capi_media_radio_state_diagram.png and b/doc/image/capi_media_radio_state_diagram.png differ diff --git a/doc/radio_doc.h b/doc/radio_doc.h index 032e451..39ba422 100644 --- a/doc/radio_doc.h +++ b/doc/radio_doc.h @@ -76,37 +76,37 @@ * radio_start() * READY * PLAYING - * ASYNC + * SYNC * * * radio_stop() * PLAYING * READY - * ASYNC + * SYNC * * * radio_scan_start() - * READY + * READY or PLAYING * SCANNING * ASYNC * * * radio_scan_stop() * SCANNING - * READY + * READY or PLAYING * ASYNC * * * radio_seek_up() * PLAYING * PLAYING - * SYNC + * ASYNC * * * radio_seek_down() * PLAYING * PLAYING - * SYNC + * ASYNC * * * diff --git a/include/radio.h b/include/radio.h index 185c848..1f5a843 100755 --- a/include/radio.h +++ b/include/radio.h @@ -306,8 +306,8 @@ int radio_get_signal_strength(radio_h radio, int *strength); * @retval #RADIO_ERROR_INVALID_OPERATION Invalid operation * @retval #RADIO_ERROR_INVALID_STATE Invalid radio state * @retval #RADIO_ERROR_NOT_SUPPORTED Not supported - * @pre The radio state must be set to #RADIO_STATE_READY by calling radio_create() or radio_stop(). - * @post The radio state will be #RADIO_STATE_SCANNING during a search. After the scan is completed, the radio state will be #RADIO_STATE_READY. + * @pre The radio state must be set to #RADIO_STATE_READY or #RADIO_STATE_PLAYING. + * @post The radio state will be #RADIO_STATE_SCANNING during a search. After the scan is completed, the radio state will be set back to the state from before the function call(#RADIO_STATE_READY or #RADIO_STATE_PLAYING). * @post It invokes radio_scan_updated_cb() when the scan information updates. * @post It invokes radio_scan_completed_cb() when the scan completes, if you set a callback with radio_set_scan_completed_cb(). * @see radio_scan_stop() diff --git a/packaging/capi-media-radio.spec b/packaging/capi-media-radio.spec index 9cfac6c..5f9d909 100644 --- a/packaging/capi-media-radio.spec +++ b/packaging/capi-media-radio.spec @@ -1,7 +1,7 @@ Name: capi-media-radio Summary: A Radio library in Tizen Native API -Version: 0.1.2 -Release: 13 +Version: 0.1.3 +Release: 1 Group: API/C API License: Apache-2.0 Source0: %{name}-%{version}.tar.gz