Remove the limitation of stream type with manual route when virtual stream start 05/192505/1 accepted/tizen/unified/20181107.082110 submit/tizen/20181106.062750
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 6 Nov 2018 05:41:23 +0000 (14:41 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 6 Nov 2018 05:41:23 +0000 (14:41 +0900)
[Version] 0.5.15
[Issue Type] Policy

Change-Id: Iae8275822613fd878f0d87e5914093d4451c380b
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/capi-media-sound-manager.spec
src/sound_manager_private.c

index e81eb7f..c1970d9 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-sound-manager
 Summary:    Sound Manager library
-Version:    0.5.14
+Version:    0.5.15
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index 5188fef..e885638 100644 (file)
@@ -2425,15 +2425,6 @@ int _start_virtual_stream(virtual_sound_stream_info_s *virtual_stream)
        SM_INSTANCE_CHECK_FOR_PRIV(virtual_stream);
        SM_STATE_CHECK_FOR_PRIV(virtual_stream, _VSTREAM_STATE_READY);
 
-       if (virtual_stream->stream_info->stream_conf_info.route_type == STREAM_ROUTE_TYPE_MANUAL ||
-                       virtual_stream->stream_info->stream_conf_info.route_type == STREAM_ROUTE_TYPE_MANUAL_EXT) {
-               /* check if the manual route info. is set when it comes to the manual route type */
-               if (virtual_stream->stream_info->manual_route_info.is_set == false) {
-                       ret = MM_ERROR_SOUND_INVALID_STATE;
-                       goto ERROR;
-               }
-       }
-
        /* fill up with default value */
        ss.channels = 2;
        ss.rate = 44100;
@@ -2514,7 +2505,6 @@ ERROR_WITH_UNLOCK:
        }
        LOGE("pa_ret(%d)", pa_ret);
 //LCOV_EXCL_STOP
-ERROR:
        return ret;
 }