Expand the prestate of radio_scan_start function. 99/86499/6 accepted/tizen/3.0/common/20161114.105301 accepted/tizen/3.0/ivi/20161011.062229 accepted/tizen/3.0/mobile/20161015.032230 accepted/tizen/3.0/wearable/20161015.080314 accepted/tizen/common/20160908.134631 accepted/tizen/ivi/20160908.122850 accepted/tizen/mobile/20160908.122815 accepted/tizen/wearable/20160908.122832 submit/tizen/20160908.044740 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000006 submit/tizen_3.0_mobile/20161015.000000 submit/tizen_3.0_wearable/20161015.000000
authorGilbok Lee <gilbok.lee@samsung.com>
Thu, 1 Sep 2016 11:09:54 +0000 (20:09 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Thu, 8 Sep 2016 01:58:36 +0000 (18:58 -0700)
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 <gilbok.lee@samsung.com>
doc/image/capi_media_radio_state_diagram.png
doc/radio_doc.h
include/radio.h
packaging/capi-media-radio.spec

index dad0dc9..5f67f51 100755 (executable)
Binary files a/doc/image/capi_media_radio_state_diagram.png and b/doc/image/capi_media_radio_state_diagram.png differ
index 032e451..39ba422 100644 (file)
  *        <td>radio_start()</td>
  *        <td>READY</td>
  *        <td>PLAYING</td>
- *        <td>ASYNC</td>
+ *        <td>SYNC</td>
  *     </tr>
  *     <tr>
  *        <td>radio_stop()</td>
  *        <td>PLAYING</td>
  *        <td>READY</td>
- *        <td>ASYNC</td>
+ *        <td>SYNC</td>
  *     </tr>
  *     <tr>
  *        <td>radio_scan_start()</td>
- *        <td>READY</td>
+ *        <td>READY or PLAYING</td>
  *        <td>SCANNING</td>
  *        <td>ASYNC</td>
  *     </tr>
  *     <tr>
  *        <td>radio_scan_stop()</td>
  *        <td>SCANNING</td>
- *        <td>READY</td>
+ *        <td>READY or PLAYING</td>
  *        <td>ASYNC</td>
  *     </tr>
  *     <tr>
  *        <td>radio_seek_up()</td>
  *        <td>PLAYING</td>
  *        <td>PLAYING</td>
- *        <td>SYNC</td>
+ *        <td>ASYNC</td>
  *     </tr>
  *     <tr>
  *        <td>radio_seek_down()</td>
  *        <td>PLAYING</td>
  *        <td>PLAYING</td>
- *        <td>SYNC</td>
+ *        <td>ASYNC</td>
  *     </tr>
  * </table></div>
  *
index 185c848..1f5a843 100755 (executable)
@@ -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()
index 9cfac6c..5f9d909 100644 (file)
@@ -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