From b15f8552d629021c3cadef3e7afcae2fa98dad1b Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Sun, 30 Jul 2017 05:06:18 +0300 Subject: Improve gen_adldata program - Now it caches all generated data, so, we won't have to re-calculate same - File is writing by gen_adldata nor by stdout forward - Instead of hardcoded list of banks, I made the INI file which declares list of banks to generate - Add simple validators to tell which bank is absense and can't be loaded - Split code of gen_adldata.cc into multiple files of different role --- src/gen_adldata/midi_inst_list.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gen_adldata/midi_inst_list.h') diff --git a/src/gen_adldata/midi_inst_list.h b/src/gen_adldata/midi_inst_list.h index f61b13d..61c9119 100644 --- a/src/gen_adldata/midi_inst_list.h +++ b/src/gen_adldata/midi_inst_list.h @@ -1,3 +1,6 @@ +#pragma once +#ifndef MIDI_INS_LIST +#define MIDI_INS_LIST static const char *const MidiInsName[] = { "AcouGrandPiano", @@ -178,3 +181,5 @@ static const char *const MidiInsName[] = { "Mute Triangle", "Open Triangle", "Shaker","Jingle Bell","Bell Tree","Castanets","Mute Surdu","Open Surdu",""}; + +#endif //MIDI_INS_LIST -- cgit v1.2.3