Mercurial > audlegacy-plugins
comparison src/paranormal/wave.c @ 188:0d826917c56f trunk
[svn] - 64-bit safety (pass 1 of 2)
author | nenolod |
---|---|
date | Thu, 02 Nov 2006 18:22:02 -0800 |
parents | 37b53a5a9aa4 |
children | 4b48e6e9b3cb |
comparison
equal
deleted
inserted
replaced
187:90e05196fe17 | 188:0d826917c56f |
---|---|
10 struct pn_actuator_option_desc wave_horizontal_opts[] = | 10 struct pn_actuator_option_desc wave_horizontal_opts[] = |
11 { | 11 { |
12 {"channels", "Which sound channels to use: negative = channel 1, \npositive = channel 2, " | 12 {"channels", "Which sound channels to use: negative = channel 1, \npositive = channel 2, " |
13 "zero = both (two wave-forms.)", OPT_TYPE_INT, {ival: -1} }, | 13 "zero = both (two wave-forms.)", OPT_TYPE_INT, {ival: -1} }, |
14 {"value", "The colour value to use.", OPT_TYPE_INT, {ival: 255} }, | 14 {"value", "The colour value to use.", OPT_TYPE_INT, {ival: 255} }, |
15 { 0 } | 15 { NULL } |
16 }; | 16 }; |
17 | 17 |
18 static void | 18 static void |
19 wave_horizontal_exec (const struct pn_actuator_option *opts, | 19 wave_horizontal_exec (const struct pn_actuator_option *opts, |
20 gpointer data) | 20 gpointer data) |
64 struct pn_actuator_option_desc wave_vertical_opts[] = | 64 struct pn_actuator_option_desc wave_vertical_opts[] = |
65 { | 65 { |
66 {"channels", "Which sound channels to use: negative = channel 1, \npositive = channel 2, " | 66 {"channels", "Which sound channels to use: negative = channel 1, \npositive = channel 2, " |
67 "zero = both (two wave-forms.)", OPT_TYPE_INT, {ival: -1} }, | 67 "zero = both (two wave-forms.)", OPT_TYPE_INT, {ival: -1} }, |
68 {"value", "The colour value to use.", OPT_TYPE_INT, {ival: 255} }, | 68 {"value", "The colour value to use.", OPT_TYPE_INT, {ival: 255} }, |
69 { 0 } | 69 { NULL } |
70 }; | 70 }; |
71 | 71 |
72 static void | 72 static void |
73 wave_vertical_exec (const struct pn_actuator_option *opts, | 73 wave_vertical_exec (const struct pn_actuator_option *opts, |
74 gpointer data) | 74 gpointer data) |
124 "waveform will be normalized", | 124 "waveform will be normalized", |
125 OPT_TYPE_FLOAT, { fval: .125 } }, | 125 OPT_TYPE_FLOAT, { fval: .125 } }, |
126 { "channels", "Which sound channel(s) to normalize: negative = channel 1,\n" | 126 { "channels", "Which sound channel(s) to normalize: negative = channel 1,\n" |
127 "\tpositive = channel 2, 0 = both channels.", | 127 "\tpositive = channel 2, 0 = both channels.", |
128 OPT_TYPE_INT, { ival: 0 } }, | 128 OPT_TYPE_INT, { ival: 0 } }, |
129 { 0 } | 129 { NULL } |
130 }; | 130 }; |
131 | 131 |
132 static void | 132 static void |
133 wave_normalize_exec (const struct pn_actuator_option *opts, | 133 wave_normalize_exec (const struct pn_actuator_option *opts, |
134 gpointer data) | 134 gpointer data) |
219 static struct pn_actuator_option_desc wave_radial_opts[] = | 219 static struct pn_actuator_option_desc wave_radial_opts[] = |
220 { | 220 { |
221 { "base_radius", " ", | 221 { "base_radius", " ", |
222 OPT_TYPE_FLOAT, { fval: 0 } }, | 222 OPT_TYPE_FLOAT, { fval: 0 } }, |
223 {"value", "The colour value to use.", OPT_TYPE_INT, {ival: 255} }, | 223 {"value", "The colour value to use.", OPT_TYPE_INT, {ival: 255} }, |
224 { 0 } | 224 { NULL } |
225 }; | 225 }; |
226 | 226 |
227 static void | 227 static void |
228 wave_radial_exec (const struct pn_actuator_option *opts, | 228 wave_radial_exec (const struct pn_actuator_option *opts, |
229 gpointer data) | 229 gpointer data) |