This is Turbo Pascal source code and executable
to play and record WAV files on a Sound Blaster 16.
(c) 2001-2004 by Klaus Hartnegg, www.klaus-hartnegg.de

Features
- auto-detects sample rate, sample size and number of channels (mono/stereo)
- supports up to 44100 Hz, 16 bit, stereo
- uses auto-init DMA mode and XMS buffers for undisturbed output
- can be used in your own programs to play music while your program runs
- free for non-commercial use (GNU license)

Changes
- 10/2004 bugfixes and recording added
- 04/2003 bugfixes


file          description
00readme.txt  this text
playwav.pas   source for playback demo
playwav.exe   compiled playback demo
record.pas    source for recording demo
record.exe    compiled recording demo
sb16.pas      unit to access sound blaster 16
sbmix.pas     unit to access mixer of sound blaster
sb16wav.pas   unit to play wav files on sound blaster 16
sb16irq.pas   unit to process interrupts in auto-init-dma mode
trapint.pas   unit to handle interrupts
irq.pas       unit to access interrupts
wav.pas       unit to read and write header info from wav files
dmabuf.pas    unit to allocate memory buffer for DMA
xms.pas       unit to allocate XMS memory
xmsblock.pas  unit to allocate data buffers in XMS memory
sb16math.pas  unit with some math functions required by the other units
bpc.cfg       config file for Borland Pascal used to compile the demos

