Update default bank and some settings of libADLMIDI

This commit is contained in:
Wohlstand 2020-09-28 21:41:13 +03:00 committed by Christoph Oelckers
parent 72c23d98a3
commit 03afaef324
4 changed files with 5185 additions and 1556 deletions

File diff suppressed because it is too large Load diff

Binary file not shown.

View file

@ -92,7 +92,7 @@ OPNMIDIDevice::OPNMIDIDevice(const char *bank)
{ {
if(opnConfig.default_bank.size() == 0) if(opnConfig.default_bank.size() == 0)
{ {
opn2_openBankData(Renderer, xg_default, 62080); opn2_openBankData(Renderer, xg_default, sizeof(xg_default));
} }
else opn2_openBankData(Renderer, opnConfig.default_bank.data(), (long)opnConfig.default_bank.size()); else opn2_openBankData(Renderer, opnConfig.default_bank.data(), (long)opnConfig.default_bank.size());
} }

View file

@ -13,7 +13,7 @@ struct ADLConfig
int adl_chips_count = 6; int adl_chips_count = 6;
int adl_emulator_id = 0; int adl_emulator_id = 0;
int adl_bank = 14; int adl_bank = 14;
int adl_volume_model = 3; // DMX int adl_volume_model = 6; // A "Fixed" DMX (without simulation of AM voices bug)
int adl_run_at_pcm_rate = 0; int adl_run_at_pcm_rate = 0;
int adl_fullpan = 1; int adl_fullpan = 1;
int adl_use_custom_bank = false; int adl_use_custom_bank = false;