File format of SampDump files
=============================

*******************************************************
* Offset * Bytes * Description                        *
*******************************************************
*    0   *    4  * "SDMP" -file type identifier       *
*    4   *    4  * Sample length                      *
*    8   *    4  * Repeat offset                      *
*   12   *    4  * Repeat length                      *
*   16   *    3  * Volume, 0-127, standard log. scale *
*   19   *    1  * Fine tuning (signed 8-bit)         *
*   20   *   22  * Sample name, zero padded           *
*   42   *    1  * Flag; 1=data is compressed, 0=not  *
*   43   *    ?  * Sample data                        *
*******************************************************


The compression routine used is a slightly modified version of the LZW
algorithm, with the first four bytes of each compressed chunk holding the
file offset of the end of the following chunk.

The sample data, if it is compressed, is stored as the differences between
the linear version of the bytes of data. Otherwise, it is in raw VIDC
logarithmic format.
