From owner-freebsd-multimedia Mon Oct 16 10:29:11 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from mailhub.teliauk.com (mailhub.teliauk.com [195.12.225.36]) by hub.freebsd.org (Postfix) with ESMTP id B511137B677; Mon, 16 Oct 2000 10:29:04 -0700 (PDT) Received: from d1o314.teliauk.com (root@d1o314.teliauk.com [195.12.237.81]) by mailhub.teliauk.com (8.10.1/8.10.1) with ESMTP id e9GHSqA05243; Mon, 16 Oct 2000 18:28:52 +0100 (BST) Received: from vilnya.demon.co.uk (t2o316p35.teliauk.com [195.12.247.35]) by d1o314.teliauk.com (8.8.8/8.8.8) with ESMTP id SAA20925; Mon, 16 Oct 2000 18:28:38 +0100 (GMT/BST) Received: from haveblue (haveblue.rings [10.2.4.5]) by vilnya.demon.co.uk (Postfix) with SMTP id 7548AD9A8; Mon, 16 Oct 2000 18:28:28 +0100 (BST) Message-ID: <003501c03796$874cbff0$0504020a@haveblue> From: "Cameron Grant" To: "Matthew Frost" Cc: "j mckitrick" , "Dolgan" , , References: <20001010012905.A3426@dogma.freebsd-uk.eu.org> <20001013214153.A1670@home.com> <20001014132123.A69191@dogma.freebsd-uk.eu.org> <003201c03617$f7603900$0504020a@haveblue> <20001015084017.B15920@orac.frost.net> Subject: Re: sound problems under 4.1.1 Date: Mon, 16 Oct 2000 18:28:41 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I've got a similar problem. I went from a September 26th kernel to an > October 14th and my Soundblaster stopped working: > > sbc0: at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0 > pcm0: on sbc0 > > Running tracker I get: > > "Could not query current format" please try this patch on sys/dev/sound/pcm/dsp.c: @@ -411,10 +411,12 @@ case SNDCTL_DSP_SETFMT: /* sets _one_ format */ splx(s); + if ((*arg_i != AFMT_QUERY)) { if (wrch) ret = chn_setformat(wrch, (*arg_i) | (wrch->format & AFMT_STEREO)); if (rdch && ret == 0) ret = chn_setformat(rdch, (*arg_i) | (rdch->format & AFMT_STEREO)); + } *arg_i = (wrch? wrch->format: rdch->format) & ~AFMT_STEREO; break; -cg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message