Skip to content

Commit

Permalink
[IDolby] Amend JSON-RPC names after tools modification (#316)
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre Wielders <[email protected]>
  • Loading branch information
sebaszm and pwielders authored Jan 5, 2024
1 parent f60ceb4 commit 2f337b1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion interfaces/IDolby.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,36 +50,41 @@ namespace Exchange {
PASSTHRU,
DOLBYDIGITAL,
DOLBYDIGITALPLUS,
SOUNDMODE_AUTO
SOUNDMODE_AUTO /* @text:Auto */
};

// @event @uncompliant:extended
struct EXTERNAL INotification : virtual public Core::IUnknown {
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;
};

virtual uint32_t Register(INotification*) = 0;
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;
Expand Down

0 comments on commit 2f337b1

Please sign in to comment.