diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-05-19 22:33:37 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-05-19 22:33:37 +0300 |
commit | bb4797ee68c0f12018196d3ee8caddcdcad9fe38 (patch) | |
tree | 9cd938ebf9c39366eaf53401b439fa92a14f63bc /src/adldata.hh | |
parent | bed6bcb220346c622a307bf405b9a1e87fd99db5 (diff) | |
download | libADLMIDI-bb4797ee68c0f12018196d3ee8caddcdcad9fe38.tar.gz libADLMIDI-bb4797ee68c0f12018196d3ee8caddcdcad9fe38.tar.bz2 libADLMIDI-bb4797ee68c0f12018196d3ee8caddcdcad9fe38.zip |
Works and fixes
- Fixed an incorrect calculation of 4-op channels and choosing 4-op channels for 2-op only banks
- Resolved trouble with automatically chosen flags because of internal confusion
Diffstat (limited to 'src/adldata.hh')
-rw-r--r-- | src/adldata.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/adldata.hh b/src/adldata.hh index ed0c8b4..65fd6bd 100644 --- a/src/adldata.hh +++ b/src/adldata.hh @@ -47,14 +47,14 @@ enum { adlDefaultNumber = 189 }; extern const struct adlinsdata { - enum { Flag_Pseudo4op = 0x01, Flag_NoSound = 0x02 }; + enum { Flag_Pseudo4op = 0x01, Flag_NoSound = 0x02, Flag_Real4op = 0x04 }; uint16_t adlno1, adlno2; uint8_t tone; uint8_t flags; uint16_t ms_sound_kon; // Number of milliseconds it produces sound; uint16_t ms_sound_koff; - double voice2_fine_tune; + double voice2_fine_tune; } adlins[]; ADLDATA_BYTE_COMPARABLE(struct adlinsdata) int maxAdlBanks(); @@ -71,7 +71,7 @@ struct adlinsdata2 uint8_t flags; uint16_t ms_sound_kon; // Number of milliseconds it produces sound; uint16_t ms_sound_koff; - double voice2_fine_tune; + double voice2_fine_tune; adlinsdata2() {} explicit adlinsdata2(const adlinsdata &d); }; |