Notes for the Win32 port of DATlib.

Port by Daniel F. Smith <dfs1122@gmail.com> Christmas 2006.
Tested on Windows XP SP2 Home.

While this is a port of the DATAudioLib and GenericLib libraries, there's
one new program that may be of interest, and that's the dubiously-named
dat2wav.exe.  This program transfers a DAT audio tape to a bunch of .wav
files.

E.g.,
c:\> dat2wav MyFavoriteAlbum
will make the files
MyFavoriteAlbum-01.wav
MyFavoriteAlbum-02.wav
...

You can compile from source with Microsoft's Visual C++ 2005 Express Edition.

Bugs and Todo:

Sometimes the first track marker will be on lead in, and the sample
rate may not be set up on the tape properly.  (E.g., lead-in is
48kHz, music starts after track 1 marker at 44.1kHz.)  In this case
the first wav file will be marked at the incorrect sample rate.

Need to fill in the write function in if_win32.c and test DAT writing if
you should want to write a tape.

My audio tapes seem to change program number slightly /after/ a new
piece of music begins.  Perhaps move transition back 0.25s or so.

Update copyright notices.  Ahh, I can't be bothered---this is only a
quick port---please keep the same license terms as in the sources.
