From 32750e1272cd886a32ab548315312b3f0fd2f656 Mon Sep 17 00:00:00 2001 From: Jeongmo Yang Date: Tue, 27 Aug 2019 14:58:42 +0900 Subject: [PATCH] Set volume ratio as 1.0 when deactivate ducking [Version] 0.5.38 [Profile] Common [Issue Type] Update Change-Id: I68f8ee43318b5b69460ceec57775ac85f4236994 Signed-off-by: Jeongmo Yang --- packaging/capi-media-sound-manager.spec | 2 +- src/sound_manager.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/capi-media-sound-manager.spec b/packaging/capi-media-sound-manager.spec index 4a541b0..b310786 100644 --- a/packaging/capi-media-sound-manager.spec +++ b/packaging/capi-media-sound-manager.spec @@ -1,6 +1,6 @@ Name: capi-media-sound-manager Summary: Sound Manager library -Version: 0.5.37 +Version: 0.5.38 Release: 0 Group: Multimedia/API License: Apache-2.0 diff --git a/src/sound_manager.c b/src/sound_manager.c index 0279a49..69b9817 100644 --- a/src/sound_manager.c +++ b/src/sound_manager.c @@ -1355,7 +1355,7 @@ int sound_manager_deactivate_ducking(sound_stream_ducking_h stream_ducking) if (is_ducked) { ret = _activate_ducking(ducking->pa_info.index, - false, ducking->target_stream, ducking->duration, ducking->ratio); + false, ducking->target_stream, ducking->duration, 1.0); } else { LOGE("not ducked"); ret = MM_ERROR_SOUND_INVALID_STATE; -- 2.7.4