1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
|
/*
* Copyright © 2017-2020 Wellington Wallace
*
* This file is part of PulseEffects.
*
* PulseEffects is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PulseEffects is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PulseEffects. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef SOURCE_OUTPUT_EFFECTS_UI_HPP
#define SOURCE_OUTPUT_EFFECTS_UI_HPP
#include "compressor_ui.hpp"
#include "deesser_ui.hpp"
#include "effects_base_ui.hpp"
#include "equalizer_ui.hpp"
#include "filter_ui.hpp"
#include "gate_ui.hpp"
#include "limiter_ui.hpp"
#include "maximizer_ui.hpp"
#include "multiband_compressor_ui.hpp"
#include "multiband_gate_ui.hpp"
#include "pitch_ui.hpp"
#include "reverb_ui.hpp"
#include "rnnoise_ui.hpp"
#include "source_output_effects.hpp"
#include "stereo_tools_ui.hpp"
#include "webrtc_ui.hpp"
class SourceOutputEffectsUi : public Gtk::Box, public EffectsBaseUi {
public:
SourceOutputEffectsUi(BaseObjectType* cobject,
const Glib::RefPtr<Gtk::Builder>& refBuilder,
const Glib::RefPtr<Gio::Settings>& refSettings,
SourceOutputEffects* soe_ptr);
SourceOutputEffectsUi(const SourceOutputEffectsUi&) = delete;
auto operator=(const SourceOutputEffectsUi&) -> SourceOutputEffectsUi& = delete;
SourceOutputEffectsUi(const SourceOutputEffectsUi&&) = delete;
auto operator=(const SourceOutputEffectsUi&&) -> SourceOutputEffectsUi& = delete;
~SourceOutputEffectsUi() override;
static auto add_to_stack(Gtk::Stack* stack, SourceOutputEffects* soe_ptr) -> SourceOutputEffectsUi*;
void on_app_added(std::shared_ptr<AppInfo> app_info) override;
protected:
std::string log_tag = "soe_ui: ";
private:
SourceOutputEffects* soe = nullptr;
LimiterUi* limiter_ui = nullptr;
CompressorUi* compressor_ui = nullptr;
FilterUi* filter_ui = nullptr;
EqualizerUi* equalizer_ui = nullptr;
ReverbUi* reverb_ui = nullptr;
GateUi* gate_ui = nullptr;
DeesserUi* deesser_ui = nullptr;
PitchUi* pitch_ui = nullptr;
WebrtcUi* webrtc_ui = nullptr;
MultibandCompressorUi* multiband_compressor_ui = nullptr;
MultibandGateUi* multiband_gate_ui = nullptr;
StereoToolsUi* stereo_tools_ui = nullptr;
MaximizerUi* maximizer_ui = nullptr;
RNNoiseUi* rnnoise_ui = nullptr;
void level_meters_connections();
void up_down_connections();
};
#endif
|