From 2f337b12ca859bd9f1512d8d78bf360c62e38fcf Mon Sep 17 00:00:00 2001 From: sebaszm <45654185+sebaszm@users.noreply.github.com> Date: Fri, 5 Jan 2024 14:06:34 +0100 Subject: [PATCH] [IDolby] Amend JSON-RPC names after tools modification (#316) Co-authored-by: Pierre Wielders --- interfaces/IDolby.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/interfaces/IDolby.h b/interfaces/IDolby.h index c68f1ad1..5f29b017 100644 --- a/interfaces/IDolby.h +++ b/interfaces/IDolby.h @@ -50,7 +50,7 @@ namespace Exchange { PASSTHRU, DOLBYDIGITAL, DOLBYDIGITALPLUS, - SOUNDMODE_AUTO + SOUNDMODE_AUTO /* @text:Auto */ }; // @event @uncompliant:extended @@ -58,6 +58,7 @@ namespace Exchange { enum { ID = ID_DOLBY_OUTPUT_NOTIFICATION }; ~INotification() override = default; + // @text soundmodechanged @alt:deprecated dolby_audiomodechanged virtual void AudioModeChanged(const Dolby::IOutput::SoundModes mode, const bool enabled) = 0; }; @@ -65,21 +66,25 @@ namespace Exchange { virtual uint32_t Unregister(INotification*) = 0; // @property + // @text dolbyatmossupported @alt:deprecated dolby_atmosmetadata // @brief Atmos capabilities of Sink // @return supported: atmos supported or unsupported virtual uint32_t AtmosMetadata(bool& supported /* @out */) const = 0; // @property + // @alt:deprecated dolby_soundmode // @brief Sound Mode - Mono/Stereo/Surround // @return mode: sound mode virtual uint32_t SoundMode(Dolby::IOutput::SoundModes& mode /* @out */) const = 0; // @property + // @text dolbyatmosoutput @alt:deprecated dolby_enableatmosoutput // @brief Enable Atmos Audio Output // @param enable: enable/disable virtual uint32_t EnableAtmosOutput(const bool enable /* @in */) = 0; // @property + // @text:dolbymode @alt:dolby_mode // @brief Dolby Mode // @param mode: dolby mode type virtual uint32_t Mode(const Dolby::IOutput::Type& mode) = 0;