*BSD News Article 81248


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!cancer.vividnet.com!hunter.premier.net!feed1.news.erols.com!howland.erols.net!newsfeed.internetmci.com!news.infinex.com!news1.isp.net!news.erg.sri.com!forte.org!forte.org!not-for-mail
From: paigen@forte.heathen.com (David Paigen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: overwrites and loops while playing audio?!?
Date: 21 Oct 1996 10:02:49 -0700
Organization: Forte Recreations
Lines: 43
Message-ID: <54gabp$cqg@forte.heathen.com>
NNTP-Posting-Host: localhost.heathen.com


Hello, there.

I just ran into a problem that I was hoping someone could shed some
light on for me.  When I play an audio clip through my sound card, the
tail of the previous clip is heard after the new clip and the whole
thing loops after about 15 seconds and continues until I interrupt the
process.  Here is an example:

I play "robinwilliams"
I hear "robinwilliams        robinwilliams       robinwilliams..."
I play "lion"
I head "lionnwilliams        lionnwilliams       lionnwilliams..."

Hardware and software specifics:

I am running 2.1-RELEASE on a P75 with a ProAudioSpectrum-16.  This
combo worked fine under 2.0-(somesnapshot).  To enable the sound
card I added these lines to my kernel config:

controller	snd0
device pas0     at isa? port 0x388 irq 10 drq 6 vector pasintr
device sb0      at isa? port 0x220 irq 7 conflicts drq 1 vector sbintr
device opl0     at isa? port 0x388 conflicts

And I did a 'MAKEDEV pas' in /dev.  (actually, I did this first)

To play a clip, I run the following command:

sox lion.au -t ub -r 8000 /dev/dsp 

Any ideas about what is going wrong?  I have not recompiled sox
since I installed the new version of the OS.  Should I?  Is there
something I need to do to get the PAS16 into (or out of) SB mode?

Has anyone seen (heard) this before?

Thanks for any help,
-David Paigen
-- 
David Paigen       paigen@{best.com,forte.org}   Will answer stupid user
aka Sir Henry Lee     C, unix, X, news, and        questions for beer. 
Queen's Champion       distributed systems	       (good beer)