Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 1997 15:27:01 -0500
From:      Randall Hopper <rhh@ct.picker.com>
To:        Glenn Johnson <gljohns@bellsouth.net>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Sound problems
Message-ID:  <19971221152701.07680@ct.picker.com>
In-Reply-To: <199712200624.AAA01279@gforce.bellsouth.net>; from Glenn Johnson on Sat, Dec 20, 1997 at 12:24:57AM -0600
References:  <199712200624.AAA01279@gforce.bellsouth.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Glenn Johnson:
 |I have a Sound Blaster 16 card that works fine. I compiled xpat2 from the
 |ports collection and enabled sound in the src/Imakefile file. I used the
 |X-sound_SUN.o SOUNDOBJECT. Now, everything worked fine with -current
 |10-22-97-SNAPSHOT but not with the -current 120897-SNAPSHOT. The problem
 |I am seeing is that after a sound is played in xpat2, I hear a high
 |pitched continuous tone emitted from the sound card that can only be
 |stopped by shutting down xpat2. I have not had this problem with any
 |other application, but as I said I did not have the problem at all with a
 |previous snapshot. I hope this is the proper list. Thanks and Happy
 |Holidays!

I think the Voxware 3.5 drivers were swapped in after the 10/22/97 SNAP.
"cat < /dev/sndstat" on your 10/22/97 image and see if it prints:

      VoxWare Sound Driver:3.0-beta-950506

on the first line.  If so, the driver switch may be related to your
troubles.  I know the 12/08/97 SNAP has the 3.5 drivers as I'm running it:

      VoxWare Sound Driver:3.5-alpha15-970902

There are a few DMA buffering probs in the 12/08 3.5 sound driver I've
noticed (some regular clicks and pauses at some sample/freq/bit rates), but
fortunately CD-quality read & write seems to work well.  

To help debug the problem, you might try to find out what sample rate, bit
size, and num of channels xpat2 is using.

Another thing to try.  After it starts emitting that continuous tone, try
changing your recording source:

> mixer =rec mic
Recording source: mic
> mixer =rec line
Recording source: line
> mixer =rec cd
Recording source: cd

See if it might be feedback related to having mic selected and a mike
plugged in or something which is close to your speakers (yeah; been there,
done that :-)

Randall




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971221152701.07680>