[Version] 0.5.37
[Profile] Common
[Issue Type] API change
Change-Id: I17c3aacc7a390b9424d2fb133fda5aa70bc3be86
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
* is decreased by @a ratio for @a duration. The change is system-wide.
* @param[in] stream_ducking The handle of stream ducking
* @param[in] duration The duration for ducking (msec, 0 <= duration <= 3000)
- * @param[in] ratio The volume ratio after ducked (0.0 < ratio < 1.0)
+ * @param[in] ratio The volume ratio when ducked (0.0 <= ratio < 1.0)
* @return @c 0 on success,
* otherwise a negative error value
* @retval #SOUND_MANAGER_ERROR_NONE Success
Name: capi-media-sound-manager
Summary: Sound Manager library
-Version: 0.5.36
+Version: 0.5.37
Release: 0
Group: Multimedia/API
License: Apache-2.0
bool is_ducked = false;
sound_stream_ducking_s *ducking = (sound_stream_ducking_s*)stream_ducking;
- if (duration > 3000 || ratio >= 1.0 || ratio <= 0.0) {
+ if (duration > 3000 || ratio >= 1.0 || ratio < 0.0) {
LOGE("Invalid params : duration(%u) or ratio(%lf)", duration, ratio);
return SOUND_MANAGER_ERROR_INVALID_PARAMETER;
}