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

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

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

revision 806 by schoenebeck, Sat Nov 12 19:53:53 2005 UTC revision 918 by persson, Sat Sep 2 08:45:37 2006 UTC
# Line 315  namespace DLS { Line 315  namespace DLS {
315              String Source;           ///< <ISRC-ck>. Identifies the name of the person or organization who supplied the original subject of the file.              String Source;           ///< <ISRC-ck>. Identifies the name of the person or organization who supplied the original subject of the file.
316              String SourceForm;       ///< <ISRF-ck>. Identifies the original form of the material that was digitized, such as record, sampling CD, TV sound track. This is not neccessarily the same as <i>Medium</i>.              String SourceForm;       ///< <ISRF-ck>. Identifies the original form of the material that was digitized, such as record, sampling CD, TV sound track. This is not neccessarily the same as <i>Medium</i>.
317              String Commissioned;     ///< <ICMS-ck>. Lists the name of the person or organization that commissioned the subject of the file, e.g., Pope Julian II.              String Commissioned;     ///< <ICMS-ck>. Lists the name of the person or organization that commissioned the subject of the file, e.g., Pope Julian II.
318                bool UseFixedLengthStrings; ///< Set this to true if the info strings should be stored with a fixed length format. This is used for gig files, not for ordinary DLS files.
319    
320              Info(RIFF::List* list);              Info(RIFF::List* list);
321                virtual ~Info();
322              virtual void UpdateChunks();              virtual void UpdateChunks();
323          private:          private:
324              RIFF::List* pResourceListChunk;              RIFF::List* pResourceListChunk;
325    
326              void LoadString(uint32_t ChunkID, RIFF::List* lstINFO, String& s);              void LoadString(uint32_t ChunkID, RIFF::List* lstINFO, String& s);
327              void SaveString(uint32_t ChunkID, RIFF::List* lstINFO, const String& s, const String& sDefault);              void SaveString(uint32_t ChunkID, RIFF::List* lstINFO, const String& s, const String& sDefault, int size);
328      };      };
329    
330      /** Abstract base class which encapsulates data structures which all DLS resources are able to provide. */      /** Abstract base class which encapsulates data structures which all DLS resources are able to provide. */
# Line 455  namespace DLS { Line 457  namespace DLS {
457              RegionList::iterator RegionsIterator;              RegionList::iterator RegionsIterator;
458    
459              Instrument(File* pFile, RIFF::List* insList);              Instrument(File* pFile, RIFF::List* insList);
460              void LoadRegions();              virtual void LoadRegions();
461              virtual ~Instrument();              virtual ~Instrument();
462              friend class File;              friend class File;
463      };      };
# Line 485  namespace DLS { Line 487  namespace DLS {
487              typedef std::list<Instrument*> InstrumentList;              typedef std::list<Instrument*> InstrumentList;
488    
489              RIFF::File*              pRIFF;              RIFF::File*              pRIFF;
490                std::list<RIFF::File*>   ExtensionFiles;
491              SampleList*              pSamples;              SampleList*              pSamples;
492              SampleList::iterator     SamplesIterator;              SampleList::iterator     SamplesIterator;
493              InstrumentList*          pInstruments;              InstrumentList*          pInstruments;
# Line 495  namespace DLS { Line 498  namespace DLS {
498              uint32_t*                pWavePoolTableHi;              uint32_t*                pWavePoolTableHi;
499              bool                     b64BitWavePoolOffsets;              bool                     b64BitWavePoolOffsets;
500    
501              void LoadSamples();              virtual void LoadSamples();
502              void LoadInstruments();              virtual void LoadInstruments();
503              void __ensureMandatoryChunksExist();              void __ensureMandatoryChunksExist();
504              friend class Region; // Region has to look in the wave pool table to get its sample              friend class Region; // Region has to look in the wave pool table to get its sample
505          private:          private:

Legend:
Removed from v.806  
changed lines
  Added in v.918

  ViewVC Help
Powered by ViewVC