-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobals.c
50 lines (29 loc) · 858 Bytes
/
globals.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#include "globals.h"
Event *control_events_buffer = NULL;
Event *merged_events_buffer = NULL;
Event *meta_events_buffer = NULL;
uint32_t *buffer_512 = NULL;
FILE *input_file_fp = NULL;
FILE *output_file_fp = NULL;
char *input_file_name = NULL, *output_file_name = NULL;
char *assembler_label = NULL;
int option_voicegroup = 0;
int option_priority = 0;
int option_reverb = INT32_MAX;
int option_volume = 127;
int option_b = false;
int option_exact_gate_time = false;
int option_compression_enabled = true;
int option_clock_per_beat = 1;
uint32_t midi_absolute_time;
uint16_t midi_format_short;
uint16_t midi_number_of_tracks;
uint16_t midi_time_div;
long midi_header_end = 0;
long track_data_start;
uint8_t last_control_event_byte;
uint8_t sfile_num_blocks;
int midi_channel;
int negative_one_thing;
int starts_at_zero_thing;
long Offset;