1999-06-18  Erik de Castro Lopo  <erikd@zip.com.au>

    * tests/write_read_test.c
    Removed test for IMA ADPCM WAV files which is now done in adpcm_test.c

    * configure.in
    Added -Wconversion to CFLAGS. 
    
    * src/*.c tests/*.c examples/*.c
    Fixed all warnings resulting from use of -Wconversion. 

1999-06-17  Erik de Castro Lopo  <erikd@zip.com.au>

    * src/wav.c
    Added fact chunk handling on read and write for all non WAVE_FORMAT_PCM
    WAV files.

    * src/wav_ima.c
    Changed block alignment to be dependant on sample rate. This should make
    WAV files created with libsndfile compatible with the MS Windows media
    players.
    
    * tests/adpcm_test.c
    Reimplemented adpcm_test_short and implemented adpcm_test_int and adpcm_test_double.
    Now have full testing of IMA ADPCM WAV file read, write and seek.

1999-06-15  Erik de Castro Lopo  <erikd@zip.com.au>

    * src/wav_float.c
    Fixed function prototype for x86f2d_array () which was causing ocassional 
    seg. faults on Sparc Solaris machines.

1999-06-14  Erik de Castro Lopo  <erikd@zip.com.au>

    * src/aiff.c
    Fixed bug in __aiff_close where the length fields in the header were
    not being correctly calculated before writing.
    
    * tests/write_read_test.c
    Modified to detect the above bug in WAV, AIFF and AU files.

1999-06-12    Erik de Castro Lopo     <erikd@zip.com.au>

    * Win32/*
    Added a contribution from Albert Faber to allow libsndfile to compile
    under Win32 systems. libsndfile will now be used as part of LAME the
    the MPEG 1 Layer 3 encoder (http://internet.roadrunner.com/~mt/mp3/).

1999-06-11    Erik de Castro Lopo  <erikd@zip.com.au>

    * configure.in
    Changed to reflect previous changes.
    
    * src/wav_ima_adpcm.c
    Fixed incorrect calculation of bytespersec header field (IMA ADPCM only).
    
    Fixed bug when writing from int or double data to IMA ADPCM file. Will need 
    to write test code for this.
    
    Fixed bug in __ima_write () whereby the length of the current block was 
    calculated incorrectly. Thanks to Jongcheon Park for pointing this out.

1999-03-27  Erik de Castro Lopo  <erikd@zip.com.au>

    * src/*.c
    Changed all read/write/lseek function calls to fread/fwrite/
    fseek/ftell and added error checking of return values from
    fread and fwrite in critical areas of the code.
    
    * src/au.c
    Fixed incorrect datasize element in AU header on write.
    
    * tests/error_test.c
    Add new test to check all error values have an associated error
    string. This will avoid embarrassing real world core dumps.

1999-03-23  Erik de Castro Lopo  <erikd@zip.com.au>

    * src/wav.c src/aiff.c
    Added handling for unknown chunk markers in the file. 

1999-03-22  Erik de Castro Lopo  <erikd@zip.com.au>

    * src/sndfile.c
    Filled in missing error strings in SndfileErrors array. Missing entries 
    can cause core dumps when calling sf_error-str (). Thanks to Sam 
    <mrsam at-sign geocities.com> for finding this problem.

1999-03-21  Erik de Castro Lopo  <erikd@zip.com.au>

    * src/wav_ima_adpcm.c
    Work on wav_ms_adpcm.c uncovered a bug in __ima_read () when reading 
    stereo files. Caused by not adjusting offset into buffer of decoded
    samples for 2 channels. A similar bug existed in __ima_write ().
    Need a test for stereo ADPCM files.
    
    * src/wav_ms_adpcm.c
    Decoder working correctly.
    
1999-03-18  Erik de Castro Lopo  <erikd@zip.com.au>

    * configure.in Makefile.am
    Added --enable-justsrc configuration variable sent by Sam
    <mrsam at-sign geocities.com>.
    
    * src/wav_ima_adpcm.c
    Fixed bug when reading beyond end of data section due to not
    checking pima->blockcount.
    This uncovered __ima_seek () bug due to pima->blockcount being set 
    before calling __ima_init_block ().

1999-03-17  Erik de Castro Lopo  <erikd@zip.com.au>

    * src/wav.c
    Started implementing MS ADPCM decoder. 
    If file is WAVE_FORMAT_ADPCM and length of data chunk is odd, this
    encoder seems to add an extra byte. Why not just give an even data
    length? 

1999-03-16  Erik de Castro Lopo  <erikd@zip.com.au>

    * src/wav.c
    Split code out of wav.c to create wav_float.c and wav_ima_adpcm.c.
    This will make it easier to add and debug other kinds of WAV files
    in future.

1999-03-14  Erik de Castro Lopo  <erikd@zip.com.au>

    * tests/
    Added adpcm_test.c which implements test functions for
    IMA ADPCM reading/writing/seeking etc.

    * src/wav.c
    Fixed many bugs in IMA ADPCM encoder and decoder. 
    
1999-03-11  Erik de Castro Lopo  <erikd@zip.com.au>

    * src/wav.c
    Finished implementing IMA ADPCM encoder and decoder (what a bitch!). 
    
1999-03-03  Erik de Castro Lopo  <erikd@zip.com.au>

    * src/wav.c
    Started implementing IMA ADPCM decoder. 

1999-03-02  Erik de Castro Lopo  <erikd@zip.com.au>

    * src/sndfile.c
    Fixed bug where the sf_read_XXX functions were returning a 
    incorrect read count when reading past end of file.
    Fixed bug in sf_seek () when seeking backwards from end of file.

    * test/read_seek_test.c
    Added multiple read test to short_test(), int_test () and
    double_test ().
    Added extra chunk to all test WAV files to test that reading
    stops at end of 'data' chunk.

1999-02-21  Erik de Castro Lopo  <erikd@zip.com.au>

    * tests/write_read_test.c
    Added tests for little DEC endian AU files.

    * src/au.c
    Add handling for DEC format little endian AU files.
     
1999-02-20  Erik de Castro Lopo  <erikd@zip.com.au>

    * src/aiff.c src/au.c src/wav.c
    Add __psf_sprintf calls during header parsing.
     
    * src/sndfile.c src/common.c
    Implement sf_header_info (sndfile.c) function and __psf_sprintf (common.c).

    * tests/write_read_test.c
    Added tests for 8 bit PCM files (WAV, AIFF and AU).

    * src/au.c src/aiff.c
    Add handling of 8 bit PCM data format.
     
    * src/aiff.c
    On write, set blocksize in SSND chunk to zero like everybody else.
    
1999-02-16  Erik de Castro Lopo  <erikd@zip.com.au>

    * src/pcm.c:
    Fixed bug in let2s_array (cptr was not being initialised).

    * src/sndfile.c:
    Fixed bug in sf_read_raw and sf_write_raw. sf_seek should
    now work when using these functions.

1999-02-15  Erik de Castro Lopo  <erikd@zip.com.au>

    * tests/write_read_test.c:
    Force test_buffer array to be double aligned. Sparc Solaris
    requires this.

1999-02-14  Erik de Castro Lopo  <erikd@zip.com.au>

    * src/pcm.c:
    Fixed a bug which was causing errors in the reading
    and writing of 24 bit PCM files.
    
    * doc/api.html
    Finished of preliminary documentaion.

1999-02-13  Erik de Castro Lopo  <erikd@zip.com.au>

    * src/aiff.c:
    Changed reading of 'COMM' chunk to avoid reading an int
    which overlaps an int (4 byte) boundary.

