From e5105e9e78230f6cf90f59c50c7b99b3d94b42c3 Mon Sep 17 00:00:00 2001 From: "srigayathry.pugazhenthi" Date: Thu, 21 Nov 2024 20:47:32 +0000 Subject: [PATCH] DELIA-65853: Atmos indication is not displayed with DDP Reason for change: Add DD and DDP options in the soundmode API Test Procedure: build and verify Risks: Medium Priority: P1 Signed-off-by: Srigayathry Pugazhenthisrigayathry.pugazhenthi@sky.uk --- PlayerInfo/DeviceSettings/PlatformImplementation.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PlayerInfo/DeviceSettings/PlatformImplementation.cpp b/PlayerInfo/DeviceSettings/PlatformImplementation.cpp index fdbfb44304..b2c0c59b41 100644 --- a/PlayerInfo/DeviceSettings/PlatformImplementation.cpp +++ b/PlayerInfo/DeviceSettings/PlatformImplementation.cpp @@ -393,6 +393,8 @@ class PlayerInfoImplementation : public Exchange::IPlayerProperties, public Exch else if(soundmode == device::AudioStereoMode::kStereo) mode = STEREO; else if(soundmode == device::AudioStereoMode::kMono) mode = MONO; else if(soundmode == device::AudioStereoMode::kPassThru) mode = PASSTHRU; + else if(soundmode == device::AudioStereoMode::kDD) mode = DOLBYDIGITAL; + else if(soundmode == device::AudioStereoMode::kDDPlus) mode = DOLBYDIGITALPLUS; else mode = UNKNOWN; /* Auto mode applicable for HDMI Arc and SPDIF */