LMMS
Loading...
Searching...
No Matches
Ladspa2LMMS.h
Go to the documentation of this file.
1/*
2 * Ladspa2LMMS.h - class that identifies and instantiates LADSPA effects
3 * for use with LMMS
4 *
5 * Copyright (c) 2005-2008 Danny McRae <khjklujn@netscape.net>
6 *
7 * This file is part of LMMS - https://lmms.io
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public
11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public
20 * License along with this program (see COPYING); if not, write to the
21 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 * Boston, MA 02110-1301 USA.
23 *
24 */
25
26#ifndef LMMS_LADSPA_2_LMMS_H
27#define LMMS_LADSPA_2_LMMS_H
28
29#include "LadspaManager.h"
30
31namespace lmms
32{
33
36class LMMS_EXPORT Ladspa2LMMS : public LadspaManager
37{
38public:
39
41 {
42 return( m_instruments );
43 }
44
46 {
47 return( m_validEffects );
48 }
49
51 {
52 return( m_invalidEffects );
53 }
54
56 {
57 return( m_analysisTools );
58 }
59
61 {
62 return( m_otherPlugins );
63 }
64
65 QString getShortName( const ladspa_key_t & _key );
66
67private:
69 ~Ladspa2LMMS() override = default;
70
76
77 friend class Engine;
78
79} ;
80
81
82} // namespace lmms
83
84#endif // LMMS_LADSPA_2_LMMS_H
Definition Ladspa2LMMS.h:37
l_sortable_plugin_t m_invalidEffects
Definition Ladspa2LMMS.h:73
l_sortable_plugin_t m_otherPlugins
Definition Ladspa2LMMS.h:75
l_sortable_plugin_t m_validEffects
Definition Ladspa2LMMS.h:72
friend class Engine
Definition Ladspa2LMMS.h:77
l_sortable_plugin_t m_instruments
Definition Ladspa2LMMS.h:71
l_sortable_plugin_t getInvalidEffects()
Definition Ladspa2LMMS.h:50
l_sortable_plugin_t getOthers()
Definition Ladspa2LMMS.h:60
~Ladspa2LMMS() override=default
l_sortable_plugin_t getAnalysisTools()
Definition Ladspa2LMMS.h:55
l_sortable_plugin_t getInstruments()
Definition Ladspa2LMMS.h:40
l_sortable_plugin_t getValidEffects()
Definition Ladspa2LMMS.h:45
l_sortable_plugin_t m_analysisTools
Definition Ladspa2LMMS.h:74
Ladspa2LMMS()
Definition Ladspa2LMMS.cpp:34
LadspaManager()
Definition LadspaManager.cpp:46
Definition AudioAlsa.cpp:35
QPair< QString, QString > ladspa_key_t
Definition LadspaManager.h:47
QList< sortable_plugin_t > l_sortable_plugin_t
Definition LadspaManager.h:49