To providing volume control of loopback sound, add type of volume property to sink-input as "media".
Therefore loopback volume will be controlled along with "media" type. This patch is TV profile only.
[Version] 5.0.98
[Profile] TV
[Issue Type] Product feature
Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I34681ffe18f109b10eb306c4a015e3666e6392c1
Name: pulseaudio
Summary: Improved Linux sound server
Version: 5.0
-Release: 97
+Release: 98
Group: Multimedia/Audio
License: LGPL-2.1+
URL: http://pulseaudio.org
if (sink_dont_move)
sink_input_data.flags |= PA_SINK_INPUT_DONT_MOVE;
+#if defined(__TIZEN__) && defined(TIZEN_FEATURE_TV_PROD)
+ /* Set volume type of stream */
+ pa_proplist_sets(sink_input_data.proplist, PA_PROP_MEDIA_TIZEN_VOLUME_TYPE, "media");
+#endif
+
pa_sink_input_new(&u->sink_input, m->core, &sink_input_data);
pa_sink_input_new_data_done(&sink_input_data);