LMMS
Loading...
Searching...
No Matches
StereoEnhancer.h
Go to the documentation of this file.
1/*
2 * StereoEnhancer.h - stereo-enhancer-effect-plugin
3 *
4 * Copyright (c) 2006-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
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_ENHANCER_H
27#define _STEREO_ENHANCER_H
28
29#include "Effect.h"
30#include "DspEffectLibrary.h"
32
33namespace lmms
34{
35
36
38{
39public:
41 const Descriptor::SubPluginFeatures::Key * _key );
42 ~StereoEnhancerEffect() override;
43
44 ProcessStatus processImpl(SampleFrame* buf, const f_cnt_t frames) override;
45 void processBypassedImpl() override;
46
48 {
49 return( &m_bbControls );
50 }
51
52 void clearMyBuffer();
53
54
55private:
57
61
63
65} ;
66
67
68} // namespace lmms
69
70#endif
Definition DspEffectLibrary.h:313
Definition EffectControls.h:44
Effect(const Plugin::Descriptor *_desc, Model *_parent, const Descriptor::SubPluginFeatures::Key *_key)
Definition Effect.cpp:41
ProcessStatus
Definition Effect.h:147
Definition Model.h:37
Definition SampleFrame.h:41
SampleFrame * m_delayBuffer
Definition StereoEnhancer.h:58
ProcessStatus processImpl(SampleFrame *buf, const f_cnt_t frames) override
Definition StereoEnhancer.cpp:85
~StereoEnhancerEffect() override
Definition StereoEnhancer.cpp:72
bool m_delayBufferCleared
Definition StereoEnhancer.h:60
void processBypassedImpl() override
Definition StereoEnhancer.cpp:129
StereoEnhancerControls m_bbControls
Definition StereoEnhancer.h:62
DspEffectLibrary::StereoEnhancer m_seFX
Definition StereoEnhancer.h:56
void clearMyBuffer()
Definition StereoEnhancer.cpp:137
StereoEnhancerEffect(Model *parent, const Descriptor::SubPluginFeatures::Key *_key)
Definition StereoEnhancer.cpp:56
friend class StereoEnhancerControls
Definition StereoEnhancer.h:64
int m_currFrame
Definition StereoEnhancer.h:59
EffectControls * controls() override
Definition StereoEnhancer.h:47
static uintptr_t parent
Definition pugl.h:1644
Definition AudioAlsa.cpp:35
std::uint64_t f_cnt_t
Definition LmmsTypes.h:43