diff options
author | Wohlstand <admin@wohlnet.ru> | 2025-03-25 19:52:51 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2025-03-25 19:52:51 +0300 |
commit | 55d2eab229b563aa0e0f5f9319570876c525ccb8 (patch) | |
tree | 72da417f1dd7845675413e7c4dce189e7912fcd7 /src/adlmidi_opl3.hpp | |
parent | 06fb33d4641cbb0d136d069edbf6d8687267166b (diff) | |
download | libADLMIDI-55d2eab229b563aa0e0f5f9319570876c525ccb8.tar.gz libADLMIDI-55d2eab229b563aa0e0f5f9319570876c525ccb8.tar.bz2 libADLMIDI-55d2eab229b563aa0e0f5f9319570876c525ccb8.zip |
Implemented support of YMFM emulators and OPL2
Diffstat (limited to 'src/adlmidi_opl3.hpp')
-rw-r--r-- | src/adlmidi_opl3.hpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/adlmidi_opl3.hpp b/src/adlmidi_opl3.hpp index 7ae0f59..5b472f7 100644 --- a/src/adlmidi_opl3.hpp +++ b/src/adlmidi_opl3.hpp @@ -38,6 +38,7 @@ #define NUM_OF_4OP_CHANNELS 6 #define NUM_OF_2OP_CHANNELS 18 #define NUM_OF_2x2_CHANNELS 9 +#define NUM_OF_OPL2_CHANNELS 9 #define NUM_OF_RM_CHANNELS 5 /** @@ -80,6 +81,12 @@ private: unsigned m_serialBaud; unsigned m_serialProtocol; #endif + //! Does loaded emulator supports soft panning? + bool m_softPanningSup; + //! Current type of chip + int m_currentChipType; + //! Number channels per chip + size_t m_perChipChannels; public: /** @@ -197,7 +204,9 @@ public: //! Rhythm-mode Hi-Hat ChanCat_Rhythm_HiHat = 7, //! Rhythm-mode Secondary channel - ChanCat_Rhythm_Secondary = 8 + ChanCat_Rhythm_Secondary = 8, + //! Here is no channel used (OPL2 only) + ChanCat_None = 9 }; //! Category of the channel |