mirror of https://github.com/dcoredump/dexed.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
724 B
40 lines
724 B
8 years ago
|
#ifndef beep_peg
|
||
|
#define beep_peg
|
||
|
|
||
|
|
||
|
#ifndef PEG_STRUCT
|
||
|
#define PEG_STRUCT
|
||
|
typedef struct {
|
||
|
float min;
|
||
|
float max;
|
||
|
float default_value;
|
||
|
char toggled;
|
||
|
char integer;
|
||
|
char logarithmic;
|
||
|
} peg_data_t;
|
||
|
#endif
|
||
|
|
||
|
/* <http://ll-plugins.nongnu.org/lv2/lv2pftci/beep2> */
|
||
|
|
||
|
static const char p_uri[] = "http://ll-plugins.nongnu.org/lv2/lv2pftci/beep2";
|
||
|
|
||
|
enum p_port_enum {
|
||
|
p_midi,
|
||
|
p_left,
|
||
|
p_right,
|
||
|
p_pwm,
|
||
|
p_gain,
|
||
|
p_n_ports
|
||
|
};
|
||
|
|
||
|
static const peg_data_t p_ports[] = {
|
||
|
{ -3.40282e+38, 3.40282e+38, -3.40282e+38, 0, 0, 0 },
|
||
|
{ -3.40282e+38, 3.40282e+38, -3.40282e+38, 0, 0, 0 },
|
||
|
{ -3.40282e+38, 3.40282e+38, -3.40282e+38, 0, 0, 0 },
|
||
|
{ 0, 1, 0.5, 0, 0, 0 },
|
||
|
{ 0, 2, 1, 0, 0, 0 },
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif /* beep_peg */
|