getdetune() coding style cleanup
[zyn.git] / filter_base.h
blob7a73c353574c9a16d0939b0b7d9631c8b05f8214
1 /*
2 ZynAddSubFX - a software synthesizer
4 Filter_.h - This class is inherited by filter classes
5 Copyright (C) 2002-2005 Nasca Octavian Paul
6 Author: Nasca Octavian Paul
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of version 2 of the GNU General Public License
10 as published by the Free Software Foundation.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License (version 2) for more details.
17 You should have received a copy of the GNU General Public License (version 2)
18 along with this program; if not, write to the Free Software Foundation,
19 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 #ifndef FILTER__H
24 #define FILTER__H
26 class Filter_
28 public:
29 virtual ~Filter_(){};
30 virtual void filterout(REALTYPE *smp){};
31 virtual void setfreq(REALTYPE frequency){};
32 virtual void setfreq_and_q(REALTYPE frequency,REALTYPE q_){};
33 virtual void setq(REALTYPE q_){};
34 virtual void setgain(REALTYPE dBgain){};
35 REALTYPE m_outgain;
38 #endif