diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-03-31 14:31:32 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-03-31 14:31:32 +0200 |
commit | ae70341365e27d766c8530924209fc4826036aea (patch) | |
tree | b18247e0b96b45b6f74b66d0ab5b5d69bb63f143 /src/GainControl.h | |
parent | fe19871f8ee362f65d194b864eb989618b994e58 (diff) | |
download | dabmod-ae70341365e27d766c8530924209fc4826036aea.tar.gz dabmod-ae70341365e27d766c8530924209fc4826036aea.tar.bz2 dabmod-ae70341365e27d766c8530924209fc4826036aea.zip |
Add JSON output to RC
Diffstat (limited to 'src/GainControl.h')
-rw-r--r-- | src/GainControl.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/GainControl.h b/src/GainControl.h index 4c9a2bc..f0fd6b6 100644 --- a/src/GainControl.h +++ b/src/GainControl.h @@ -3,7 +3,7 @@ Her Majesty the Queen in Right of Canada (Communications Research Center Canada) - Copyright (C) 2017 + Copyright (C) 2023 Matthias P. Braendli, matthias.braendli@mpb.li http://opendigitalradio.org @@ -63,13 +63,9 @@ class GainControl : public PipelinedModCodec, public RemoteControllable const char* name() override { return "GainControl"; } /* Functions for the remote control */ - /* Base function to set parameters. */ - virtual void set_parameter(const std::string& parameter, - const std::string& value) override; - - /* Getting a parameter always returns a string. */ - virtual const std::string get_parameter( - const std::string& parameter) const override; + virtual void set_parameter(const std::string& parameter, const std::string& value) override; + virtual const std::string get_parameter(const std::string& parameter) const override; + virtual const RemoteControllable::map_t get_all_values() const override; protected: virtual int internal_process( |