Cancel stop by silence timer when new recording is started 15/290315/2
authorSuyeon Hwang <stom.hwang@samsung.com>
Thu, 23 Mar 2023 00:51:36 +0000 (09:51 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Wed, 19 Apr 2023 08:45:31 +0000 (08:45 +0000)
commit3ebd30aad18da2f3fc8f643c4a3eb190d3aea642
tree596aaef2b640f622f028cc1f0f309e50d43a5e81
parent4db14493e89f18eed7e43f0c1851119488db251f
Cancel stop by silence timer when new recording is started

- Issue:
New recording can be stopped by previously reserved stop by silence
timer.

- Solution:
This patch adds new code for managing stop by silence timer. And also,
this patch adds new code for canceling this timer when
sttd_server_start() is invoked. Through this patch, recording can be
started on perfectly clear state.

Change-Id: I578b66819ccb983a9c8c98203e058ecdb69b5c21
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
server/sttd_server.c