[Version] 0.1.7
[Profile] Mobile, Wearable
[Issue Type] Fix bugs
Change-Id: I0d34b52307a4137747d2c1e301d695ef0767f201
* @retval #RADIO_ERROR_NOT_SUPPORTED Not supported
* @pre The radio state must be set to #RADIO_STATE_SCANNING by calling radio_scan_start().
* @post It invokes radio_scan_stopped_cb() when the scan stops.
- * @post The radio state will be #RADIO_STATE_READY.
+ * @post After the scan stopped, the radio state will be set back to the state from before the radio_scan_start() fuction call(#RADIO_STATE_READY or #RADIO_STATE_PLAYING).
* @see radio_scan_start()
*/
int radio_scan_stop(radio_h radio, radio_scan_stopped_cb callback, void *user_data);
Name: capi-media-radio
Summary: A Radio library in Tizen Native API
-Version: 0.1.6
+Version: 0.1.7
Release: 1
Group: API/C API
License: Apache-2.0
__unset_callback(_RADIO_EVENT_TYPE_SCAN_STOP, radio);
int ret = mm_radio_scan_stop(handle->mm_handle);
- if (ret != MM_ERROR_NONE) {
+ if (ret != MM_ERROR_NONE)
return __convert_error_code(ret, (char *)__FUNCTION__);
- } else {
- handle->state = RADIO_STATE_READY;
+ else
return RADIO_ERROR_NONE;
- }
}
int radio_set_mute(radio_h radio, bool muted)