Minot coding style fix
[zyn.git] / addsynth_component_frequency_globals.cpp
blob144037e218c1ffe232ac5ff1adbeb79fa47db93f
1 /* -*- Mode: C ; c-basic-offset: 2 -*- */
2 /*****************************************************************************
4 * Copyright (C) 2006,2007,2008,2009 Nedko Arnaudov <nedko@arnaudov.name>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *****************************************************************************/
21 #include <stdbool.h>
22 #include <assert.h>
24 #include "common.h"
25 #include "globals.h"
26 #include "addsynth.h"
27 #include "lfo_parameters.h"
28 #include "filter_parameters.h"
29 #include "envelope_parameters.h"
30 #include "resonance.h"
31 #include "fft.h"
32 #include "oscillator.h"
33 #include "portamento.h"
34 #include "addsynth_internal.h"
35 #include "log.h"
37 float
38 zyn_component_frequency_globals_get_float(
39 void * context,
40 unsigned int parameter)
42 assert(0);
43 return 0;
46 void
47 zyn_component_frequency_globals_set_float(
48 void * context,
49 unsigned int parameter,
50 float value)
52 assert(0);
55 signed int
56 zyn_component_frequency_globals_get_int(
57 void * context,
58 unsigned int parameter)
60 assert(0);
61 return 0;
64 void
65 zyn_component_frequency_globals_set_int(
66 void * context,
67 unsigned int parameter,
68 signed int value)
70 assert(0);
73 bool
74 zyn_component_frequency_globals_get_bool(
75 void * context,
76 unsigned int parameter)
78 assert(0);
79 return false;
82 void
83 zyn_component_frequency_globals_set_bool(
84 void * context,
85 unsigned int parameter,
86 bool value)
88 assert(0);
91 void
92 zyn_addsynth_component_init_frequency_globals(
93 struct zyn_component_descriptor * component_ptr)
95 ZYN_INIT_COMPONENT(component_ptr, NULL, zyn_component_frequency_globals_);