From owner-freebsd-questions Mon Mar 29 0:57:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from kiew.egd.igd.fhg.de (unknown [192.102.170.32]) by hub.freebsd.org (Postfix) with ESMTP id 7754A14E1B for ; Mon, 29 Mar 1999 00:57:33 -0800 (PST) (envelope-from runge@rostock.zgdv.de) Received: from rostock.zgdv.de (kingfisher.egd.igd.fhg.de [153.96.43.107]) by kiew.egd.igd.fhg.de (Netscape Messaging Server 3.6) with ESMTP id AAA54CB for ; Mon, 29 Mar 1999 10:57:59 +0200 Message-ID: <36FF4027.483080A@rostock.zgdv.de> Date: Mon, 29 Mar 1999 10:56:07 +0200 From: "Thomas Runge" Organization: http://www.rostock.zgdv.de X-Mailer: Mozilla 4.51 [en] (WinNT; U) X-Accept-Language: en,de MIME-Version: 1.0 To: questions@FreeBSD.ORG Subject: Re: mxv on freebsd with snd driver? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Julian Elischer wrote: > > has anyone managed to get mxv running on 2.2.8 with the luigi snd driver > and an pnp SB16? > > It keeps telling me "this sample format not supported by hardware" when I > try record, no matter what format I select. There is a bug in luigi's soundcode affecting sampling. It's just some kind of typo and I already submitted it via send-pr. But it seems to take ages for low-priority bugs to get fixed. So this is it: Go to /usr/src/sys/i386/isa/snd and find this around line 993 in sound.c: if (ask_init(d)) *(int *)arg = d->play_fmt ; and replace it with this: if (ask_init(d)) { if (d->play_fmt) *(int *)arg = d->play_fmt ; if (d->rec_fmt) *(int *)arg = d->rec_fmt ; } This is for a 3.0 release system, but I guess, it's almost the same for 3.1 stable or 2.2.8. -- Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message