Browse Source

remove 128 flag

master
Alexandros Theodotou 3 years ago
parent
commit
bbc36138fd
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 3
      meson.build
  2. 6
      meson_options.txt
  3. 2
      src/zlfo_common.h
  4. 2
      src/zlfo_ui.c

3
meson.build

@ -82,9 +82,6 @@ config_h_data.set_quoted ( @@ -82,9 +82,6 @@ config_h_data.set_quoted (
zlfo_cdata.get ('LFO_UI_URI'))
config_h_data.set_quoted (
'INSTALL_PATH', zlfodir)
if get_option('128_bars_sync')
config_h_data.set ('HAVE_128_BARS', 1)
endif
if get_option('buildtype') == 'release'
config_h_data.set ('RELEASE', 1)
endif

6
meson_options.txt

@ -20,9 +20,3 @@ option ( @@ -20,9 +20,3 @@ option (
type: 'boolean',
value: false,
description: 'Enable strict compilation flags')
option (
'128_bars_sync',
type: 'boolean',
value: false,
description: 'Enable sync up to 64/1')

2
src/zlfo_common.h

@ -192,13 +192,11 @@ typedef enum SyncRate @@ -192,13 +192,11 @@ typedef enum SyncRate
SYNC_1_1,
SYNC_2_1,
SYNC_4_1,
#ifdef HAVE_128_BARS
SYNC_8_1,
SYNC_16_1,
SYNC_32_1,
SYNC_64_1,
SYNC_128_1,
#endif
NUM_SYNC_RATES,
} SyncRate;

2
src/zlfo_ui.c

@ -990,7 +990,6 @@ sync_rate_control_draw_cb ( @@ -990,7 +990,6 @@ sync_rate_control_draw_cb (
case SYNC_4_1:
strcpy (lbl, "4 / 1");
break;
#ifdef HAVE_128_BARS
case SYNC_8_1:
strcpy (lbl, "8 / 1");
break;
@ -1006,7 +1005,6 @@ sync_rate_control_draw_cb ( @@ -1006,7 +1005,6 @@ sync_rate_control_draw_cb (
case SYNC_128_1:
strcpy (lbl, "128 / 1");
break;
#endif
break;
}
switch ((int) self->sync_rate_type)

Loading…
Cancel
Save