aboutsummaryrefslogtreecommitdiff
path: root/shared/common/fitter.h
blob: a6797e5a60bfeba0d4c5c8c6ba4f49de729c0562 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Copyright (c) 2005 krzYszcz and others.
 * For information on usage and redistribution, and for a DISCLAIMER OF ALL
 * WARRANTIES, see the file, "LICENSE.txt," in this distribution.  */

#ifndef __FITTER_H__
#define __FITTER_H__

typedef void (*t_fitterstate_callback)(void);

void fitter_setup(t_class *owner, t_fitterstate_callback callback);
void fitter_drop(t_class *owner);
t_float *fitter_getfloat(t_symbol *s);
t_symbol *fitter_getsymbol(t_symbol *s);
void fitter_setmode(t_symbol *s);
t_symbol *fitter_getmode(void);
void fittermax_set(void);
int fittermax_get(void);
void fittermax_warning(t_class *c, char *fmt, ...);
void fittermax_rangewarning(t_class *c, int maxmax, char *what);

#endif