/* destroy command lock */
ret = pthread_mutex_destroy(&radio->cmd_lock);
- if (ret) {
+ if (ret)
MMRADIO_LOG_ERROR("mutex destroy failed\n");
- }
ret = pthread_mutex_destroy(&radio->volume_lock);
- if (ret) {
+ if (ret)
MMRADIO_LOG_ERROR("volume mutex destroy failed\n");
- }
#ifdef TIZEN_FEATURE_SOUND_FOCUS
ret = mmradio_sound_focus_deregister(&radio->sound_focus);
}
FINISHED_ERR:
-
radio->scan_thread = 0;
if (radio->old_state == MM_RADIO_STATE_PLAYING) {
MMRADIO_LOG_FLEAVE();
pthread_exit(NULL);
-
- return;
}
bool __is_tunable_frequency(mm_radio_t *radio, int freq)
MMRADIO_LOG_FLEAVE();
pthread_exit(NULL);
- return;
SEEK_FAILED:
-
if (radio->seek_unmute) {
/* now turn on radio
* In the case of limit freq, tuner should be unmuted.
radio->is_seeking = FALSE;
radio->seek_thread = 0;
pthread_exit(NULL);
- return;
}
static bool __mmradio_post_message(mm_radio_t *radio, enum MMMessageType msgtype, MMMessageParamType *param)