From owner-freebsd-questions Mon Sep 21 19:23:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA18860 for freebsd-questions-outgoing; Mon, 21 Sep 1998 19:23:18 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.camalott.com (mail.camalott.com [208.203.140.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA18777 for ; Mon, 21 Sep 1998 19:22:32 -0700 (PDT) (envelope-from joelh@gnu.org) Received: from detlev.UUCP (tex-136.camalott.com [208.229.74.136]) by mail.camalott.com (8.8.7/8.8.7) with ESMTP id VAA15951; Mon, 21 Sep 1998 21:22:42 -0500 Received: (from joelh@localhost) by detlev.UUCP (8.9.1/8.9.1) id VAA04330; Mon, 21 Sep 1998 21:21:35 -0500 (CDT) (envelope-from joelh) Date: Mon, 21 Sep 1998 21:21:35 -0500 (CDT) Message-Id: <199809220221.VAA04330@detlev.UUCP> To: freebsd-questions@FreeBSD.ORG Subject: Sound card, multiple rates From: Joel Ray Holveck Reply-to: joelh@gnu.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've got a question that I always had just been a fact of life until now. I have an Aztech Sound Galaxy Pro 16 sound card. In order for it to function, I have following in my kernel config file [line break added]: # Sound card controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr device opl0 at isa? port 0x388 # device mss0 at isa? port 0x530 conflicts irq 5 conflicts drq 1 \ conflicts vector adintr disabled # device uart0 at isa? port 0x330 irq 5 vector "m6850intr" options CONFIG_SBPRO # options __SGNXPRO__ device joy0 at isa? port "IO_GAME" pseudo-device speaker Without the CONFIG_SBPRO, /dev/audio becomes a no-op. That's a minor issue, but one that I probably should add to LINT. My question is about sample rates. The first file I play (using cp foo.au /dev/audio, with a proper header on foo.au according to sox) sometimes comes out at the wrong sample rate. If I ^C it and start again, the correct sample rate is emitted. However, this only takes place with 8000 Hz 8-bit sounds. Others play a distorted sound, clearly a different sample being interpreted as 8000 Hz 8-bit. Should this be happening? Best, joelh -- Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message