From 8b448ffd4b51e72784902748ea8310dfd08a4bc9 Mon Sep 17 00:00:00 2001 From: derselbst Date: Wed, 17 Apr 2019 19:20:36 +0200 Subject: [PATCH] fix build with MSVC --- test/test_synth_process.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test_synth_process.c b/test/test_synth_process.c index d273bdf2..bdae3bbd 100644 --- a/test/test_synth_process.c +++ b/test/test_synth_process.c @@ -5,12 +5,13 @@ #include "fluid_synth.h" #include -static int smpl; // static const int CHANNELS=16; -static const int SAMPLES=1024; +enum { SAMPLES=1024 }; int render_one_mock(fluid_synth_t *synth, int blocks) { + static int smpl; + fluid_real_t *left_in, *fx_left_in; fluid_real_t *right_in, *fx_right_in;