1 /*
2  * stereo_matrix.h - stereo-matrix-effect-plugin
3  *
4  * Copyright (c) 2008 Paul Giblock <drfaygo/at/gmail/dot/com>
5  *
6  * This file is part of LMMS - https://lmms.io
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public
19  * License along with this program (see COPYING); if not, write to the
20  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21  * Boston, MA 02110-1301 USA.
22  *
23  */
24 
25 
26 #ifndef _STEREO_MATRIX_H
27 #define _STEREO_MATRIX_H
28 
29 #include "Effect.h"
30 #include "stereomatrix_controls.h"
31 
32 class stereoMatrixEffect : public Effect
33 {
34 public:
35 	stereoMatrixEffect( Model * parent,
36 	                      const Descriptor::SubPluginFeatures::Key * _key );
37 	virtual ~stereoMatrixEffect();
38 	virtual bool processAudioBuffer( sampleFrame * _buf,
39 		                                          const fpp_t _frames );
40 
controls()41 	virtual EffectControls * controls()
42 	{
43 		return( &m_smControls );
44 	}
45 
46 
47 private:
48 	stereoMatrixControls m_smControls;
49 
50 	friend class stereoMatrixControls;
51 } ;
52 
53 
54 
55 #endif
56