25 |
#define __GIG_H__ |
#define __GIG_H__ |
26 |
|
|
27 |
#include "DLS.h" |
#include "DLS.h" |
28 |
|
#include "Serialization.h" |
29 |
#include <vector> |
#include <vector> |
30 |
|
|
31 |
#if WORDS_BIGENDIAN |
#if WORDS_BIGENDIAN |
192 |
|
|
193 |
type_t type; ///< Controller type |
type_t type; ///< Controller type |
194 |
uint controller_number; ///< MIDI controller number if this controller is a control change controller, 0 otherwise |
uint controller_number; ///< MIDI controller number if this controller is a control change controller, 0 otherwise |
195 |
|
|
196 |
|
void serialize(Serialization::Archive* archive); |
197 |
}; |
}; |
198 |
|
|
199 |
/** |
/** |
307 |
uint8_t out_start; ///< Start position of fade out. |
uint8_t out_start; ///< Start position of fade out. |
308 |
uint8_t out_end; ///< End postition of fade out. |
uint8_t out_end; ///< End postition of fade out. |
309 |
#endif // WORDS_BIGENDIAN |
#endif // WORDS_BIGENDIAN |
310 |
|
|
311 |
|
void serialize(Serialization::Archive* archive); |
312 |
}; |
}; |
313 |
|
|
314 |
/** Reflects the current playback state for a sample. */ |
/** Reflects the current playback state for a sample. */ |
491 |
DimensionRegion(RIFF::List* _3ewl, const DimensionRegion& src); |
DimensionRegion(RIFF::List* _3ewl, const DimensionRegion& src); |
492 |
~DimensionRegion(); |
~DimensionRegion(); |
493 |
void CopyAssign(const DimensionRegion* orig, const std::map<Sample*,Sample*>* mSamples); |
void CopyAssign(const DimensionRegion* orig, const std::map<Sample*,Sample*>* mSamples); |
494 |
|
void serialize(Serialization::Archive* archive); |
495 |
friend class Region; |
friend class Region; |
496 |
|
friend class Serialization::Archive; |
497 |
private: |
private: |
498 |
typedef enum { ///< Used to decode attenuation, EG1 and EG2 controller |
typedef enum { ///< Used to decode attenuation, EG1 and EG2 controller |
499 |
// official leverage controllers as they were defined in the original Gigasampler/GigaStudio format: |
// official leverage controllers as they were defined in the original Gigasampler/GigaStudio format: |