stream-manager: Remove useless codes 24/128424/1
authorSangchul Lee <sc11.lee@samsung.com>
Wed, 10 May 2017 03:04:46 +0000 (12:04 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Wed, 10 May 2017 03:04:46 +0000 (12:04 +0900)
[Version] 5.0.147
[Profile] Common
[Issue Type] Code cleanup

Change-Id: I48ba46879a14cd60106e45828cbe957f303feb0c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/pulseaudio-modules-tizen.spec
src/module-tizenaudio-policy.c

index b113a4a099d16e22814e316004e2b5da88fcc20f..84f923dc85d3db0852429f44c20a6adb96333b6a 100644 (file)
@@ -1,6 +1,6 @@
 Name:             pulseaudio-modules-tizen
 Summary:          Pulseaudio modules for Tizen
-Version:          5.0.146
+Version:          5.0.147
 Release:          0
 Group:            Multimedia/Audio
 License:          LGPL-2.1+
index f057674f293d05f00d250c2dc63423e052ab47d6..62af431d314d97f9415f96c4ec143d057eb424d1 100644 (file)
@@ -779,8 +779,6 @@ static pa_hook_result_t route_change_hook_cb(pa_core *c, pa_stream_manager_hook_
                     else
                         pa_proplist_sets(GET_STREAM_PROPLIST(data->stream, data->stream_type), PA_PROP_MEDIA_ROUTE_AUTO_ACTIVE_DEV, dm_device_type);
 
-                /* move sink-inputs/source-outputs if needed */
-                if (data->stream_type == STREAM_SINK_INPUT)
                     /* unload combine sink */
                     if (data->stream_type == STREAM_SINK_INPUT) {
                         if ((sink = pa_tz_device_get_sink(device, data->device_role)))