From owner-freebsd-multimedia Fri Mar 29 10:16:15 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by hub.freebsd.org (Postfix) with ESMTP id E5EF137B425 for ; Fri, 29 Mar 2002 10:15:32 -0800 (PST) Received: from corto.lpt.ens.fr (corto.lpt.ens.fr [129.199.122.2]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id g2TIFSp21208 ; Fri, 29 Mar 2002 19:15:28 +0100 (CET) Received: from (rsidd@localhost) by corto.lpt.ens.fr (8.9.3/jtpda-5.3.1) id TAA78206 ; Fri, 29 Mar 2002 19:15:27 +0100 (CET) Date: Fri, 29 Mar 2002 19:15:27 +0100 From: Rahul Siddharthan To: "Adam D. Gorski" Cc: John Utz , freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) Message-ID: <20020329191527.B77860@lpt.ens.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from agorski@engin.umich.edu on Fri, Mar 29, 2002 at 08:54:49AM -0500 X-Operating-System: FreeBSD 3.4-STABLE i386 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > I moved to FreeBSD just recently from Slackware. Everything runs > beautifully, except my sound. I originally had a SB PCI 64 (es1370 chip) in > my box, which Linux loved and everything was happy. However, under FreeBSD, > playing mp3/ogg files produced terrible popping/screeching that made the > music unlistenable. Note: under Linux, I had no problems. My box is a p2-450 > with 256 megs of ram, so I would think that playing mp3's wouldn't be an > issue. > > I was told that perhaps my sound card is whacky, so I ordered a SB 16 PCI, > which is what I have installed right now. Unfortunately, the problem > persists. I can cat au files and play wavs in xmms just fine, but mp3's > still crack. Are the wavs and aus generated from the mp3s, or are they different files? If different, what are their sampling rates? If your files were from different sources, try this: (a) encode a wav which works to ogg (using oggenc, say), and see whether that still works. (b) decode a problematic ogg to wav (ogg123 -d wav -f output.wav input.ogg), and see whether that still has problems. If the answer is "yes" to both I'm pretty sure it's sample rate conversion, as I suggested in an earlier mail. In any case I really don't see what sort of hardware problem can distinguish between ogg and wav, given that you have more than enough CPU horsepower, etc. And if the answer is "no" to (b) (the wav plays fine) and you have plenty of disk space, well there's your short-term solution for playing music... Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message