fluid_gen_info[] made as a const object

This commit is contained in:
carlo-bramini 2017-10-21 12:46:13 +02:00
parent 87bff4d3ef
commit 4f8ab20355
2 changed files with 2 additions and 2 deletions

View file

@ -1065,7 +1065,7 @@ fluidmax_version(t_object *o)
post(" Max/MSP integration by Norbert Schnell IMTR IRCAM - Centre Pompidou");
}
extern fluid_gen_info_t fluid_gen_info[];
extern const fluid_gen_info_t fluid_gen_info[];
static void
fluidmax_print(t_object *o, Symbol *s, short ac, Atom *at)

View file

@ -24,7 +24,7 @@
/* See SFSpec21 $8.1.3 */
fluid_gen_info_t fluid_gen_info[] = {
const fluid_gen_info_t fluid_gen_info[] = {
/* number/name init scale min max def */
{ GEN_STARTADDROFS, 1, 1, 0.0f, 1e10f, 0.0f },
{ GEN_ENDADDROFS, 1, 1, -1e10f, 0.0f, 0.0f },