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

Log of /libgig/trunk/src/RIFF.h

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 2916 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 17 19:58:09 2016 UTC (7 years, 10 months ago) by schoenebeck
File length: 18244 byte(s)
Diff to previous 2912
- Fixed GetFileSizeEx() not being declared by windows.h on
  GCC windows 32 bit cross compile builds.


Revision 2912 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 17 14:30:10 2016 UTC (7 years, 10 months ago) by schoenebeck
File length: 17989 byte(s)
Diff to previous 2703
* gig.cpp/.h: GIG FORMAT EXTENSION: Added support for saving gig file
  larger than 4 GB as one single monolithic gig file. A new custom RIFF
  chunk "FFmt" was added to distinguish such monolithic large .gig files
  from old ones which were splitted over several (.gx01, .gx02, ...)
  "extension" files before.
* DLS.cpp/.h: Sample class: wave pool offsets are now 64 bits (to allow
  support for files larger than 4 GB).
* RIFF.cpp/.h: Addded support for RIFF files larger than 4 GB, by default
  the required internal RIFF file offset size is automatically detected
  (that is RIFF files < 4 GB automatically use 32 bit offsets while
  files >= 4 GB automatically use 64 bit offsets), a particular offset
  size can be forced with a new option added to the RIFF File constructor
  though.
* RIFF.cpp/.h: When saving a modified, grown RIFF file, the temporary file
  size during Save() operation will no longer be larger than the final
  grown file size.
* Automake: Set environment variable GCC_COLORS=auto to allow GCC to auto
  detect whether it (sh/c)ould output its messages in color.
* Bumped version (4.0.0.svn3).


Revision 2703 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 13 15:28:37 2015 UTC (9 years, 2 months ago) by schoenebeck
File length: 17679 byte(s)
Diff to previous 2682
* RIFF: Cleanup of an old DLL binary backward compatibility hack.
* Bumped version (3.3.0.svn28).


Revision 2682 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 29 16:25:51 2014 UTC (9 years, 3 months ago) by schoenebeck
File length: 17601 byte(s)
Diff to previous 2584
* gig: Added support for custom progress notification while saving to
  gig file.
* DLS: Added support for custom progress notification while saving to
  DLS file.
* RIFF: Added support for custom progress notification while saving to
  RIFF file.
* Bumped version (3.3.0.svn22).


Revision 2584 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 31 20:54:39 2014 UTC (9 years, 9 months ago) by schoenebeck
File length: 16272 byte(s)
Diff to previous 2543
* gig.h/.cpp: GIG FORMAT EXTENSION: added support for real-time
  instrument scripts.
* RIFF.h/.cpp: added 2nd alternative method for List::MoveSubChunk(),
  the old 1st one allows to move a subchunk within the current List
  whereas the new 2nd one allows to move the subchunk from the
  current list to another list.
* Bumped version (3.3.0.svn13).


Revision 2543 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 10 02:06:58 2014 UTC (9 years, 10 months ago) by schoenebeck
File length: 16173 byte(s)
Diff to previous 2482
* Initial support for sample based instruments in KORG's file format (.KMP
  and .KSF files) -> Korg.h, Korg.cpp.
* Added new command line tool "korgdump" (and a man page for it).
* Added new command line tool "korg2gig" (and a man page for it), for
  converting KORG sounds to Giga format.
* riftree tool: Added more command line options for being able to also dump
  other kind of file formats similar but not equal to the RIFF format.
* gig.h/.cpp: Added new method File::GetGroup(String name) for retrieving
  group by name.
* RIFF.h/.cpp: Added support for loading RIFF-like files with a bit
  different layout than "real" RIFF files (used for KORG format support).
* RIFF.h/.cpp: Added new method Chunk::GetFile().
* RIFF.h/.cpp: Added new method Chunk::GetLayout().
* Bumped version (3.3.0.svn9).


Revision 2482 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 25 02:22:38 2013 UTC (10 years, 4 months ago) by schoenebeck
File length: 15290 byte(s)
Diff to previous 2450
* Added new command line tool "gigmerge" which allows to merge
  a list of gig files to one single gig file.
* Added new "man" page for new tool "gigmerge".
* src/gig.h: Added new method File::AddContentOf().
* src/DLS.h: Added new method File::SetFileName().
* src/RIFF.h: Added new method File::SetFileName().
* src/RIFF.h: Added new method File::IsNew().
* Added "const" keyword to several methods.
* Bumped version to 3.3.0.svn6.


Revision 2450 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 8 17:53:07 2013 UTC (10 years, 10 months ago) by persson
File length: 15177 byte(s)
Diff to previous 2155
* added write support for CtrlTrigger midi rule
* added read and write support for Legato and Alternator midi rules


Revision 2155 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 6 11:33:40 2011 UTC (13 years, 2 months ago) by persson
File length: 15117 byte(s)
Diff to previous 2044
* fixed memory leak and memory handling errors when file loading fails


Revision 2044 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 10 12:58:51 2010 UTC (14 years, 2 months ago) by persson
File length: 15089 byte(s)
Diff to previous 1953
* sf2: fixes for big endian systems
* removed compiler warnings


Revision 1953 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 30 08:16:02 2009 UTC (14 years, 8 months ago) by schoenebeck
File length: 14469 byte(s)
Diff to previous 1869
* preparations for release 3.3.0


Revision 1869 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 22 11:13:25 2009 UTC (15 years ago) by persson
File length: 14491 byte(s)
Diff to previous 1713
* bugfix: destructor for base class RIFF::Chunk accessed members of
  derived class RIFF::File, which is bad, and caused crashes when
  using Visual C++
* bugfix: EG3 depth parameter was not saved correctly
* fixes for building with Visual C++


Revision 1713 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 6 20:42:22 2008 UTC (16 years ago) by persson
File length: 14149 byte(s)
Diff to previous 1678
* fixed compilation with gcc 4.3


Revision 1678 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 10 16:07:22 2008 UTC (16 years, 1 month ago) by persson
File length: 14151 byte(s)
Diff to previous 1330
* bugfix: saving to the same file after the file size had been
  increased made the file corrupt (#82)
* bugfix: removed another iterator invalidation in DeleteSample
* changed the functions for midi rules, to get rid of the iterator


Revision 1330 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 9 10:36:23 2007 UTC (16 years, 6 months ago) by persson
File length: 14134 byte(s)
Diff to previous 1193
* the configure script can now be used in Windows with MSYS


Revision 1193 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 17 17:08:29 2007 UTC (16 years, 10 months ago) by schoenebeck
File length: 14425 byte(s)
Diff to previous 1184
- extended API doc a bit


Revision 1184 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 13 13:24:22 2007 UTC (16 years, 10 months ago) by persson
File length: 13380 byte(s)
Diff to previous 1183
* removed the recently added RIFF::File constructor, added
  File::SetByteOrder instead


Revision 1183 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 13 10:34:29 2007 UTC (16 years, 10 months ago) by persson
File length: 13386 byte(s)
Diff to previous 1102
* added RIFF::File constructor with endianess parameter
* put pack Info::UseFixedLengthStrings, marked as deprecated, to
  ensure binary compatibility
* DLS files are always created as little-endian


Revision 1102 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 18 07:13:06 2007 UTC (17 years ago) by persson
File length: 13216 byte(s)
Diff to previous 1095
* added MoveRegion and MoveSubChunk
* fixed initialization in AddRegion


Revision 1095 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 12 18:16:55 2007 UTC (17 years ago) by schoenebeck
File length: 13151 byte(s)
Diff to previous 1050
* fixed RIFF::Chunk destructor which did not unregister previously
  resized chunks, leading to a "zero size chunk" exception when
  File::Save() was called


Revision 1050 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 2 01:04:45 2007 UTC (17 years, 1 month ago) by schoenebeck
File length: 13098 byte(s)
Diff to previous 933
* ported to Windows using native Windows functions for file IO
  (provided Dev-C++ + mingw project file)
* renamed macro WAVE_FORMAT_PCM to DLS_WAVE_FORMAT_PCM
  to avoid clash with definition in i.e. windows.h


Revision 933 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 12:50:05 2006 UTC (17 years, 4 months ago) by schoenebeck
File length: 12464 byte(s)
Diff to previous 833
* preparations for release 3.1.0


Revision 833 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 5 17:30:13 2006 UTC (18 years, 1 month ago) by schoenebeck
File length: 12464 byte(s)
Diff to previous 800
* src/RIFF.cpp: bugfix in File::Save() methods which did not ensure that
  the whole RIFF tree was already built before writing which caused opening
  an existing file and saving it afterwards to write just an empty file


Revision 800 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 9 20:04:11 2005 UTC (18 years, 4 months ago) by schoenebeck
File length: 12419 byte(s)
Diff to previous 798
* src/RIFF.cpp, src/RIFF.h:
  - Chunk::LoadChunkData() can now be called again to resize the buffer
    after a Chunk::Resize() and before the File::Save() call to allow
    placing the new data in the chunk's write buffer and perform the
    resize and write operations in one rush
* src/DLS.cpp, src/DLS.h:
  - fixed loading of Articulation Connections (<artl> list chunks were
    seeked instead of ordinary <artl> data chunks)
  - added write support (highly experimental)


Revision 798 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 3 23:49:11 2005 UTC (18 years, 4 months ago) by schoenebeck
File length: 12376 byte(s)
Diff to previous 780
* fixed write support in RIFF classes


Revision 780 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 25 13:40:37 2005 UTC (18 years, 6 months ago) by schoenebeck
File length: 12144 byte(s)
Diff to previous 666
* added write support (only to the RIFF classes yet)


Revision 666 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 19 15:18:59 2005 UTC (18 years, 9 months ago) by persson
File length: 9802 byte(s)
Diff to previous 518
* added support for gig v3 multi-file format


Revision 518 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 8 16:19:34 2005 UTC (18 years, 10 months ago) by schoenebeck
File length: 9767 byte(s)
Diff to previous 384
* added functions libraryName() and libraryVersion() to each of the three
  library units (RIFF,DLS,gig)
* all tools now offer a command line switch -v to show the tools revision
  and the used libgig version
* man pages are now auto generated with the correct libgig version


Revision 384 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 17 02:22:26 2005 UTC (19 years, 1 month ago) by schoenebeck
File length: 9711 byte(s)
Diff to previous 55
* gig::Sample: external decompression buffers can now be used for streaming
  with Read() and ReadAndLoop() to avoid race conditions in case of
  multiple streaming threads
* fixed some memory leaks caused by non virtual base constructors


Revision 55 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 27 09:06:07 2004 UTC (19 years, 11 months ago) by schoenebeck
File length: 9684 byte(s)
Diff to previous 11
updated copyright header for 2004


Revision 11 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 16 17:47:00 2003 UTC (20 years, 4 months ago) by schoenebeck
File length: 9684 byte(s)
Diff to previous 2
* src/gig.cpp: fixed bug in decompression algorithm which caused it not to
  detect the end of a stream
* various endian corrections (successfully tested now on ppc)
* minor adjustments to avoid compile errors on some systems
  (using now pow() instead of powl() and --pedantic g++ compiler switch)
* src/RIFF.cpp, src/RIFF.h: added additional API documentation


Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Sat Oct 25 20:15:04 2003 UTC (20 years, 5 months ago) by schoenebeck
File length: 9574 byte(s)
Initial revision


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC