diff options
author | Jerome Fisher | 2004-11-28 05:35:07 +0000 |
---|---|---|
committer | Jerome Fisher | 2004-11-28 05:35:07 +0000 |
commit | 077d19f5008e5cb911b1291f59b63fc46da18cc8 (patch) | |
tree | d3361671ac04d9d7f0e5e4354a78f4bd48a847d1 /backends/midi/mt32/partialManager.h | |
parent | 67b8abac08befed3e545dd500df4f28b7524348a (diff) | |
download | scummvm-rg350-077d19f5008e5cb911b1291f59b63fc46da18cc8.tar.gz scummvm-rg350-077d19f5008e5cb911b1291f59b63fc46da18cc8.tar.bz2 scummvm-rg350-077d19f5008e5cb911b1291f59b63fc46da18cc8.zip |
- Added graphical representation of initialisation progress. This is quite hacky.
- Initialisation is now interruptible.
- All data is now loaded from MT32_CONTROL.ROM. drumpat.rom, Preset1.syx, Preset2.syx and patchlog.cfg are no longer used.
- Major cleanup. In particular, separated Rhythm part into a new class, instead of dealing with it as a special case everywhere.
- Improved accuracy of pitch key-follow.
- Recaching now happens lazily.
- Changed some right-shifts to divs, due to the former not being arithmetic on some architectures.
- Setting "MT32EMU_ACCURATENOTES" to 1 will generate lookup tables for the exact frequency of every note played. Not recommended.
- Several small bugs fixed.
svn-id: r15929
Diffstat (limited to 'backends/midi/mt32/partialManager.h')
-rw-r--r-- | backends/midi/mt32/partialManager.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/backends/midi/mt32/partialManager.h b/backends/midi/mt32/partialManager.h index 7902a3cdc5..ee145d4c9f 100644 --- a/backends/midi/mt32/partialManager.h +++ b/backends/midi/mt32/partialManager.h @@ -31,22 +31,22 @@ private: Synth *synth; // Only used for sending debug output Partial *partialTable[MT32EMU_MAX_PARTIALS]; - Bit32s PartialReserveTable[MT32EMU_MAX_PARTIALS]; + Bit32s partialReserveTable[MT32EMU_MAX_PARTIALS]; Bit32s partialPart[9]; // The count of partials played per part public: PartialManager(Synth *synth); ~PartialManager(); - Partial *AllocPartial(int partNum); - unsigned int GetFreePartialCount(void); - bool FreePartials(unsigned int needed, int partNum); - unsigned int SetReserve(char *rset); - void DeactivateAll(); - void AgeAll(); - bool ProduceOutput(int i, Bit16s *buffer, Bit32u bufferLength); + Partial *allocPartial(int partNum); + unsigned int getFreePartialCount(void); + bool freePartials(unsigned int needed, int partNum); + unsigned int setReserve(Bit8u *rset); + void deactivateAll(); + void ageAll(); + bool produceOutput(int i, Bit16s *buffer, Bit32u bufferLength); bool shouldReverb(int i); - void ClearAlreadyOutputed(); - void GetPerPartPartialUsage(int usage[9]); + void clearAlreadyOutputed(); + void getPerPartPartialUsage(int usage[9]); }; } |