From e606c611dd2eb6ca01a822b1be479b5f40623c96 Mon Sep 17 00:00:00 2001 From: fzahir786 Date: Tue, 26 Aug 2025 14:39:28 +0530 Subject: [PATCH] RDKTV-37813: Modifying the default value of speaker audiolevel --- rpc/srv/dsAudio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc/srv/dsAudio.c b/rpc/srv/dsAudio.c index 31083f8a..f506a881 100755 --- a/rpc/srv/dsAudio.c +++ b/rpc/srv/dsAudio.c @@ -52,7 +52,7 @@ #include "dsAudioSettings.h" #include "safec_lib.h" - +#include static int m_isInitialized = 0; static int m_isPlatInitialized = 0; @@ -7050,7 +7050,7 @@ IARM_Result_t _dsGetHDMIARCPortId(void *arg) #ifdef DS_AUDIO_SETTINGS_PERSISTENCE static void* persist_audioLevel_timer_threadFunc(void* arg) { - float prev_audioLevel_spdif = 0.0, prev_audioLevel_speaker = 0.0, prev_audioLevel_hdmi = 0.0, prev_audioLevel_headphone = 0.0; + float prev_audioLevel_spdif = 0.0, prev_audioLevel_speaker = -FLT_MAX, prev_audioLevel_hdmi = 0.0, prev_audioLevel_headphone = 0.0; INT_DEBUG("%s Audio level persistence update timer thread running...\n",__func__); struct timespec ts; while(1){