2 |
* * |
* * |
3 |
* libgig - C++ cross-platform Gigasampler format file access library * |
* libgig - C++ cross-platform Gigasampler format file access library * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003-2007 by Christian Schoenebeck * |
* Copyright (C) 2003-2009 by Christian Schoenebeck * |
6 |
* <cuse@users.sourceforge.net> * |
* <cuse@users.sourceforge.net> * |
7 |
* * |
* * |
8 |
* This library is free software; you can redistribute it and/or modify * |
* This library is free software; you can redistribute it and/or modify * |
697 |
virtual void UpdateChunks(); |
virtual void UpdateChunks(); |
698 |
// own methods |
// own methods |
699 |
Region* GetRegion(unsigned int Key); |
Region* GetRegion(unsigned int Key); |
700 |
MidiRule* GetFirstMidiRule(); |
MidiRule* GetMidiRule(int i); |
|
MidiRule* GetNextMidiRule(); |
|
701 |
protected: |
protected: |
702 |
Region* RegionKeyTable[128]; ///< fast lookup for the corresponding Region of a MIDI key |
Region* RegionKeyTable[128]; ///< fast lookup for the corresponding Region of a MIDI key |
703 |
|
|
707 |
friend class File; |
friend class File; |
708 |
friend class Region; // so Region can call UpdateRegionKeyTable() |
friend class Region; // so Region can call UpdateRegionKeyTable() |
709 |
private: |
private: |
710 |
std::list<MidiRule*> MidiRules; |
MidiRule** pMidiRules; |
|
std::list<MidiRule*>::iterator MidiRulesIterator; |
|
711 |
}; |
}; |
712 |
|
|
713 |
/** @brief Group of Gigasampler objects |
/** @brief Group of Gigasampler objects |