/* Copyright (C) 2013 Harald Sitter This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ #ifndef PHONON_VLC_EQUALIZEREFFECT_H #define PHONON_VLC_EQUALIZEREFFECT_H #include #include #include #include #include "sinknode.h" namespace Phonon { namespace VLC { class EqualizerEffect : public QObject, public SinkNode, public EffectInterface { Q_OBJECT Q_INTERFACES(Phonon::EffectInterface) public: explicit EqualizerEffect(QObject *parent = nullptr); ~EqualizerEffect(); QList parameters() const override; QVariant parameterValue(const EffectParameter ¶meter) const override; void setParameterValue(const EffectParameter ¶meter, const QVariant &newValue) override; void handleConnectToMediaObject(MediaObject *mediaObject) override; private: libvlc_equalizer_t *m_equalizer; QList m_bands; }; } // namespace VLC } // namespace Phonon #endif // PHONON_VLC_EQUALIZEREFFECT_H