If sound_manager_start_virtual_stream failed, radio doesn't need to
call sound_manager_stop_virtual_stream.
[Version] 0.2.34
[Profile] Mobile, Wearable
[Issue Type] Fix bugs
Change-Id: I279581f1c7b33483f04f3c6afd2c797ec0ed1aea
Name: libmm-radio
Summary: Multimedia Framework Radio Library
-Version: 0.2.33
+Version: 0.2.34
Release: 0
Group: System/Libraries
License: Apache-2.0
ret = sound_manager_start_virtual_stream(radio->vstream);
if (ret) {
MMRADIO_LOG_ERROR("failed to start sound manager virtual stream");
- goto error;
+ goto error1;
}
#endif
return MM_ERROR_NONE;
-#ifdef TIZEN_FEATURE_SOUND_VSTREAM
-error:
- sound_manager_stop_virtual_stream(radio->vstream);
-#endif
error1:
radio_hal_close(radio->hal_inf);
error2: