00001
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #ifndef CSHELLSYNTH_LIN2EXP_H
00037 #define CSHELLSYNTH_LIN2EXP_H 1
00038
00039 #include <jack/jack.h>
00040 #include <cshellsynth/atomic-types.h>
00041 #include <cshellsynth/filter.h>
00042
00050 typedef struct cs_lin2exp_struct {
00051 jack_client_t *client;
00052 jack_port_t *in_port;
00053 atomic_float_t in;
00054 jack_port_t *out_port;
00055 jack_port_t *zero_port;
00056 atomic_float_t zero;
00057 } cs_lin2exp_t;
00058
00064 #define cs_lin2exp_destroy(cs_lin2exp) cs_filter_destroy((cs_filter_t *) (cs_lin2exp))
00065
00071 int cs_lin2exp_init(cs_lin2exp_t *self, const char *client_name, jack_options_t flags, char *server_name);
00072
00076 #define cs_lin2exp_set_in(self, in) cs_filter_set_in((cs_filter_t *) (self), in)
00077
00085 void cs_lin2exp_set_zero(cs_lin2exp_t *self, float zero);
00086
00087 #endif