diff options
author | Wohlstand <admin@wohlnet.ru> | 2017-07-30 05:06:18 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2017-07-30 05:06:18 +0300 |
commit | b15f8552d629021c3cadef3e7afcae2fa98dad1b (patch) | |
tree | aa72effc4fb6690c73428fa26d1f8615383a6311 /src/gen_adldata/midi_inst_list.h | |
parent | fd80dc0af0617a17f4604a9a12592398476eb5ed (diff) | |
download | libADLMIDI-b15f8552d629021c3cadef3e7afcae2fa98dad1b.tar.gz libADLMIDI-b15f8552d629021c3cadef3e7afcae2fa98dad1b.tar.bz2 libADLMIDI-b15f8552d629021c3cadef3e7afcae2fa98dad1b.zip |
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
Diffstat (limited to 'src/gen_adldata/midi_inst_list.h')
-rw-r--r-- | src/gen_adldata/midi_inst_list.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |