From owner-freebsd-multimedia Tue Aug 26 07:40:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA14115 for multimedia-outgoing; Tue, 26 Aug 1997 07:40:02 -0700 (PDT) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id HAA14032 for ; Tue, 26 Aug 1997 07:39:17 -0700 (PDT) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id PAA00313; Tue, 26 Aug 1997 15:25:22 +0200 From: Luigi Rizzo Message-Id: <199708261325.PAA00313@labinfo.iet.unipi.it> Subject: Re: OPTI931 information To: hasty@rah.star-gate.com (Amancio Hasty) Date: Tue, 26 Aug 1997 15:25:22 +0200 (MET DST) Cc: multimedia@FreeBSD.ORG, optimedia@opti.com In-Reply-To: <199708260223.TAA07018@rah.star-gate.com> from "Amancio Hasty" at Aug 25, 97 07:23:20 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >From The Desk Of Luigi Rizzo : > You do software encoding of ulaw to bypass the existing program. > At least the snd3.5 driver has bits which flag if the card supports > the audio format. So in your case it should not be hard to implement > provided of course that you haven't found a work around for your > problem 8) so does my driver for the soundblaster, and so I have done yesterday late night when I decided that the OPTI931 was buggy, but this cuts the resolution to 8 bits whereas ULAW would have 12-13 (and the codec has 16, but doing 16bit<->ulaw8bit in the driver is a real mess, with the requirement of large conversion tables and lenghts which must be recomputed...) > Have fun, Not really! :) Cheers Luigi