Date: Thu, 30 Jun 1994 09:05:00 +0300 (EET DST) From: Janne Kukonlehto Subject: Re: Available : SB library for djgpp To: Gerhard Kordmann Cc: djgpp AT sun DOT soe DOT clarkson DOT edu On Tue, 28 Jun 1994, Gerhard Kordmann wrote: > As there has been quite some demand for this type of > program I decided to make them generally available, they > are now at : ftp.uni-trier.de via anonymous ftp, in the > directory /pub/local/sb, one README and one sb.zip. > Should there be problems, try contacting me via email, File sb.c seems to be missing. In README, Gerhard Kordmann wrote: > 5.ERRORS > [...] > There definitely is a slight choppyness in the recorded > soundfiles where the DMA buffers switch. I would be glad > if anybody found a remedy and would inform me. Choppyness is caused by playing one byte too many. When using DMA you should use length minus one instead of the actual length of data. Because file sb.c is missing I can't give a fix for your version but David Baggett's version can be fixed as follows: In file sb.c, function sb_play_buffer, add following command after disable() at line 179: sb_buflen[n]--; That's all. -- Janne Kukonlehto*jtklehto AT stekt DOT oulu DOT fi*http://stekt.oulu.fi/~jtklehto