/[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 3925 by schoenebeck, Fri Feb 22 12:12:50 2019 UTC revision 3926 by schoenebeck, Tue Jun 15 10:16:40 2021 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-2019 by Christian Schoenebeck                      *   *   Copyright (C) 2003-2021 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 529  namespace DLS { Line 529  namespace DLS {
529              uint32_t MIDIProgram;    ///< Specifies the MIDI Program Change Number this Instrument should be assigned to.              uint32_t MIDIProgram;    ///< Specifies the MIDI Program Change Number this Instrument should be assigned to.
530              uint32_t Regions;        ///< Reflects the number of <i>Region</i> defintions this Instrument has.              uint32_t Regions;        ///< Reflects the number of <i>Region</i> defintions this Instrument has.
531    
532              Region*  GetFirstRegion();              Region*  GetRegionAt(size_t pos);
533              Region*  GetNextRegion();              Region*  GetFirstRegion() LIBGIG_DEPRECATED("Use GetRegionAt() instead.");
534                Region*  GetNextRegion() LIBGIG_DEPRECATED("Use GetRegionAt() instead.");
535              Region*  AddRegion();              Region*  AddRegion();
536              void     DeleteRegion(Region* pRegion);              void     DeleteRegion(Region* pRegion);
537              virtual void UpdateChunks(progress_t* pProgress) OVERRIDE;              virtual void UpdateChunks(progress_t* pProgress) OVERRIDE;
538              virtual void DeleteChunks() OVERRIDE;              virtual void DeleteChunks() OVERRIDE;
539              virtual void CopyAssign(const Instrument* orig);              virtual void CopyAssign(const Instrument* orig);
540          protected:          protected:
541              typedef std::list<Region*> RegionList;              typedef std::vector<Region*> RegionList;
542              struct midi_locale_t {              struct midi_locale_t {
543                  uint32_t bank;                  uint32_t bank;
544                  uint32_t instrument;                  uint32_t instrument;

Legend:
Removed from v.3925  
changed lines
  Added in v.3926

  ViewVC Help
Powered by ViewVC