From owner-freebsd-multimedia Wed Jan 27 00:40:00 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA15878 for freebsd-multimedia-outgoing; Wed, 27 Jan 1999 00:40:00 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id AAA15854 for ; Wed, 27 Jan 1999 00:39:46 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id HAA03747; Wed, 27 Jan 1999 07:27:17 +0100 From: Luigi Rizzo Message-Id: <199901270627.HAA03747@labinfo.iet.unipi.it> Subject: Re: audiopci things To: junki@soul.lut.fi (Juha Nurmela) Date: Wed, 27 Jan 1999 07:27:17 +0100 (MET) Cc: multimedia@FreeBSD.ORG In-Reply-To: from "Juha Nurmela" at Jan 27, 99 03:42:53 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi. > > Thank you for your efforts in FreeBSD ! The es1370 driver is actually written by Joachim Kuebart. > I noticed some little things in pcm/es1370 drivers. > > es_select() is missing. > es_read() uses the wrong u-law lookup table, wrong direction that is. > snd_set_blocksize() sets the recording sample_size too high. I have a cleaner, but experimental, version of the code at http://www.iet.unipi.it/~luigi/es1370.c.981230 http://www.iet.unipi.it/~luigi/es1370_reg.h.981230 which at least fix select() and support a much wider set of ioctl()'s You just need to replace those the equivalent files in /sys/pci. I tested on a mid-january version of -current. Feel free to try it and report how it works for you. Capture support might be worse than in the original because i haven't figured out a way to make it work on my card (Shuttle AudioCPI 255). > The spesifications Ensoniq had about the card were not too > clear about why and when interrupts are generated. agreed. but better than nothing! cheers luigi -----------------------------------+------------------------------------- Luigi RIZZO . EMAIL: luigi@iet.unipi.it . Dip. di Ing. dell'Informazione HTTP://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy) -----------------------------------+------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message