--- libgig/trunk/src/DLS.h 2021/06/19 11:05:00 3962 +++ libgig/trunk/src/DLS.h 2021/06/19 12:02:19 3963 @@ -530,6 +530,7 @@ uint32_t MIDIProgram; ///< Specifies the MIDI Program Change Number this Instrument should be assigned to. uint32_t Regions; ///< Reflects the number of Region defintions this Instrument has. + size_t CountRegions(); Region* GetRegionAt(size_t pos); Region* GetFirstRegion() LIBGIG_DEPRECATED_API("Use GetRegionAt() instead."); Region* GetNextRegion() LIBGIG_DEPRECATED_API("Use GetRegionAt() instead.");