Re: 1.3.37 SoundBlaster snd driver hosed

Joel N. Weber II (nemo@koa.iolani.honolulu.hi.us)
Thu, 9 Nov 1995 14:23:34 -1000 (HST)


On Thu, 9 Nov 1995, Corey Minyard wrote:
> > On Tue, 7 Nov 1995 linuxsys@ssg.com wrote:
> >
> > > As best I can tell, the sound driver for SoundBlaster 16 and Pro is
> > > non-op in 1.3.37.
> >
> > I am running 1.3.37 with a SoundBlaster Pro and am having no problems.
> > In fact a problem that cropped up in 1.3.35 with Timeouts has gone away.
> >
> > I'm not sure if I have followed the problems you speak of. Can you
> > summarize?
>
> Maybe not the same problem, but...
>
> In 1.3.37 and 1.3.38 I can play OK on my SB16 (I'm not sure of the
> actual model, and it is at work), but when I record I get periodic
> clicks. The clicks start loud and fade away then start loud again.
> They speed up and slow down if the rate is changed and seem to occur
> about 8 times a second when recording at 8kHz.
This sounds like a problem related to not reloading the dma buffer fast
enough. How big is your buffer, what sample rate, how many bits, stereo
or mono? If you have a 1024 byte buffer, 8kHz mono 8 bit, this might be
the cause.

It could be the interrupts are not getting through...

>
> A hexdump of the beginning of a file follows:
>
> 0000000 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f
> *
> 00001e0 7f7f 7f7f 7f7f 7f7f 0101 0101 0101 0101
> 00001f0 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f
> *
> 0000370 7f7f 7f7f 7f7f 0303 7f7f 7f7f 7f7f 7f7f
> 0000380 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f
> *
> 00005e0 7f7f 7f7f 7f7f 7f7f 0505 0505 0505 0505
> 00005f0 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f
> *
> 0000770 7f7f 7f7f 7f7f 0707 7f7f 7f7f 7f7f 7f7f
> 0000780 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f
> *
> 00009e0 7f7f 7f7f 7f7f 7f7f 0909 0909 0909 0909
> 00009f0 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f
> *
> 0000b70 7f7f 7f7f 7f7f 0b0b 7f7f 7f7f 7f7f 7f7f
> 0000b80 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f
> *
> 0000de0 7f7f 7f7f 7f7f 7f7f 0d0d 0d0d 0d0d 0d0d
> 0000df0 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f 7f7f
>
> The numbers continue to increment like this up to 7f then start back
> over at 01.
>
> --
> Corey Minyard Internet: minyard@metronet.com
> Work: minyard@bnr.ca UUCP: minyard@wf-rch.cirr.com
>