Alternatively I would even allow mulitple devices to be set, for the simple reasons that more than one bank might be supported for some music files, e.g.:
Code: Select all
$mididevice D_RUNNIN adl 14, 72
In order to change the OPL bank, the user can order all OPL banks to his preference. He can simple move the entries up and down (without changing the internal OPL bank number) and whichever OPL bank is higher is preffered over the others. And the set numbers in the SNDINFO ensure that only one of the "allowed" OPL Banks is loaded.