Fix ducking deactivation retrial logic 44/306044/3
authorSuyeon Hwang <stom.hwang@samsung.com>
Thu, 15 Feb 2024 12:47:58 +0000 (21:47 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Mon, 19 Feb 2024 02:37:26 +0000 (11:37 +0900)
commitae13a0913c20bb335035fa83ebf3875b731472d2
treec7fe3006c3bb96ba4a5f46b35521f79a26aed16e
parent96e22a0a68e23278084c6f3b7cf4c04b4fe9e4d1
Fix ducking deactivation retrial logic

- Issue:
If the ducking deactivation is failed, the retrial for the failure can
be performed after a long period of time.

- Solution:
This patch fixes the logic for the retrial. Through this patch, the code
reset the interval of the timer to zero. The deactivation failure should
be caused by a minor timing issue, so it will only take a short period
of time. So, this patch can make faster the retrial latency.
And also this patch includes some minor coding covention fix.

Change-Id: I540fb25b7bc2c8b3099046d8bca98b267afa95e4
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
server/BackgroundVolume.cpp
server/BackgroundVolume.h