mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-03 09:32:02 +00:00
Add more invalid generators for presets and instruments
Presets should not contain sampleid generators, instruments should not contain instrument generators.
This commit is contained in:
parent
6b63c80d3d
commit
6ca9b21740
1 changed files with 2 additions and 0 deletions
|
@ -121,6 +121,7 @@ static const unsigned short invalid_inst_gen[] =
|
|||
GEN_RESERVED1,
|
||||
GEN_RESERVED2,
|
||||
GEN_RESERVED3,
|
||||
GEN_INSTRUMENT,
|
||||
};
|
||||
|
||||
static const unsigned short invalid_preset_gen[] =
|
||||
|
@ -138,6 +139,7 @@ static const unsigned short invalid_preset_gen[] =
|
|||
GEN_SAMPLEMODE,
|
||||
GEN_EXCLUSIVECLASS,
|
||||
GEN_OVERRIDEROOTKEY,
|
||||
GEN_SAMPLEID,
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue