2 * Placeholder for waveshaping classes
4 * Copyright (C) 2001-2009 Krzysztof Foltman
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General
17 * Public License along with this program; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02111-1307, USA.
21 #ifndef __CALF_WAVESHAPING_H
22 #define __CALF_WAVESHAPING_H
24 /// This will be a waveshaper... when I'll code it (-:
25 /// (or get Tom Szlagyi's permission to use his own)
31 void set_params(float blend
, float drive
) {}
32 void set_sample_rate(uint32_t sr
) {}
33 float process(float in
) { return in
; }
34 float get_distortion_level() { return 1; }