The target role member variable of stream ducking structure was not
de-initialized when deactivating ducking. It causes that new stream
with matching the target role is applied by the previous ducking.
It is now fixed.
[Version] 11.1.64
[Issue type] Bug fix
Change-Id: I74f34905e762ffe35aab32a5eff1c260cac0a43e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Name: pulseaudio-modules-tizen
Summary: Pulseaudio modules for Tizen
-Version: 11.1.63
+Version: 11.1.64
Release: 0
Group: Multimedia/Audio
License: LGPL-2.1+
}
}
+ if (!enable) {
+ memset(&sd->target_role, 0, sizeof(sd->target_role));
+ memset(&sd->vol_key, 0, sizeof(sd->vol_key));
+ sd->duration = 0;
+ sd->set_vol = PA_VOLUME_NORM;
+ }
+
pa_log_info("ducking stream count %d", sd->ducking_stream_count);
pa_assert_se(dbus_message_append_args(reply, DBUS_TYPE_STRING, &stream_manager_dbus_ret_str[RET_MSG_OK], DBUS_TYPE_INVALID));