/[svn]/libgig/trunk/src/gig.h
ViewVC logotype

Diff of /libgig/trunk/src/gig.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2989 by schoenebeck, Sat Sep 24 14:00:46 2016 UTC revision 3138 by schoenebeck, Wed May 3 14:41:58 2017 UTC
# Line 2  Line 2 
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-2016 by Christian Schoenebeck                      *   *   Copyright (C) 2003-2017 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  *
# Line 25  Line 25 
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
# Line 191  namespace gig { Line 192  namespace gig {
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      /**      /**
# Line 304  namespace gig { Line 307  namespace gig {
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. */
# Line 486  namespace gig { Line 491  namespace gig {
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:
# Line 1014  namespace gig { Line 1021  namespace gig {
1021              void   SetScriptAsText(const String& text);              void   SetScriptAsText(const String& text);
1022              void   SetGroup(ScriptGroup* pGroup);              void   SetGroup(ScriptGroup* pGroup);
1023              ScriptGroup* GetGroup() const;              ScriptGroup* GetGroup() const;
1024                void   CopyAssign(const Script* orig);
1025          protected:          protected:
1026              Script(ScriptGroup* group, RIFF::Chunk* ckScri);              Script(ScriptGroup* group, RIFF::Chunk* ckScri);
1027              virtual ~Script();              virtual ~Script();

Legend:
Removed from v.2989  
changed lines
  Added in v.3138

  ViewVC Help
Powered by ViewVC