AM_CONDITIONAL(ENABLE_SOUND_VSTREAM, test "x$ENABLE_SOUND_VSTREAM" = "xyes")
if test "x$ENABLE_SOUND_VSTREAM" == "xyes"; then
- PKG_CHECK_MODULES(SOUDNMGR, capi-media-sound-manager)
+ PKG_CHECK_MODULES(SOUNDMGR, capi-media-sound-manager)
AC_SUBST(SOUNDMGR_CFLAGS)
AC_SUBST(SOUNDMGR_LIBS)
fi
Name : mm-radio
Description : Multimedia Framwork FM Radio Library
-Requires : mm-common capi-media-sound-manager
+Requires : mm-common
Version : @VERSION@
Libs : -L${libdir} -lmmfradio
Cflags : -I${includedir}/mmf
radio->seek_unmute = true;
}
+ MMRADIO_THREAD_LOCK(p_thread);
+
MMRADIO_LOG_INFO("trying to seek. direction[0:UP/1:DOWN) %d", direction);
radio->seek_direction = direction;
p_thread->is_running = true;
MMRADIO_THREAD_SIGNAL(p_thread);
+ MMRADIO_THREAD_UNLOCK(p_thread);
+
MMRADIO_LOG_FLEAVE();
return MM_ERROR_NONE;
} else {
MMRADIO_LOG_DEBUG("radio prepared and opened");
}
+ MMRADIO_THREAD_LOCK(p_thread);
p_thread->is_running = true;
MMRADIO_THREAD_SIGNAL(p_thread);
+ MMRADIO_THREAD_UNLOCK(p_thread);
+
MMRADIO_SET_STATE(radio, MM_RADIO_STATE_SCANNING);
MMRADIO_LOG_FLEAVE();
MMRADIO_LOG_ERROR("resource manager commit fail");
radio->is_ready = false;
-
-}
\ No newline at end of file
+}