From owner-freebsd-current@FreeBSD.ORG Wed Aug 23 10:35:27 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3184816A4E7; Wed, 23 Aug 2006 10:35:27 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B37A43D76; Wed, 23 Aug 2006 10:35:24 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5E135.dip.t-dialin.net [84.165.225.53]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k7NAHa2K025556; Wed, 23 Aug 2006 12:17:36 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k7NAZTsi094790; Wed, 23 Aug 2006 12:35:29 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from psbru.cec.eu.int (psbru.cec.eu.int [158.169.131.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Wed, 23 Aug 2006 12:35:29 +0200 Message-ID: <20060823123529.06d3ayec08wwgwgc@netchild.homeip.net> X-Priority: 3 (Normal) Date: Wed, 23 Aug 2006 12:35:29 +0200 From: Alexander Leidinger To: Ryan Beasley References: <44EB72FC.8040508@FreeBSD.org> In-Reply-To: <44EB72FC.8040508@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.2) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: current@FreeBSD.org, multimedia@FreeBSD.org Subject: Re: [RFC] Summer of Code -- OSSv4 audio compatibility X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Aug 2006 10:35:27 -0000 Quoting Ryan Beasley (from Tue, 22 Aug 2006 =20 16:11:24 -0500): > Hello, current@ & multimedia@! > > =3D=3D=3D=3D=3D=3D Summary =3D=3D=3D=3D=3D=3D > I participated in Google's Summer of Code this year, working on adding > support for 4Front's OSSv4 API. > > Unfortunately, more of the API specifications were still under > construction than I expected, so I focused entirely on the audio > collection of ioctls and maybe just one or two mixer ioctls. While > official documentation isn't yet available, the mixer extensions, which > are one of the coolest parts of the new API, are my top priority. (I > think I now have enough reference material to begin work in that area.) Clarification: his top priority is not part of the SoC 2006 anymore. =20 The patch presented here is the outcome of the Soc. Anything from now =20 on (bugfixes and enhancements to this code) is not covered by the SoC =20 anymore but purely based upon his interest in improving his work. > For information on the ioctls, please take a look at > http://wiki.freebsd.org/RyanBeasley/ioctlref . > > =3D=3D=3D=3D=3D=3D Patch Info =3D=3D=3D=3D=3D=3D > A patch against recent -CURRENT is available at > http://www.leidinger.net/FreeBSD/sound/rbeasley_sound.diff . > > Comments, suggestions, etc., would be hugely appreciated! > > To apply, > =09cd /usr/src/sys > =09patch --quiet < rbeasley_sound.diff > > Then rebuild the sound/sound module and whichever modules are > appropriate for your sound card. You should also install the new > sys/soundcard.h. Building/installing the world and kernel after patching will do this =20 (in case you want to test this but don't know how to do this). > =3D=3D=3D=3D=3D=3D Testing =3D=3D=3D=3D=3D=3D > Please beat down on audio as much as possible. Note that some > applications might need to be recompiled in order to access the new > ioctls (sys/soundcard.h was tweaked). We are interested in the behavior of the applications without =20 recompiling them (ideally there's no change in behavior), and after =20 recompiling. > Two areas that were least tested by me were ioctls intended to be used > with mmap() (ex: SNDCTL_DSP_CURRENT_OPTR) and recording. Please keep an > eye on these. Bye, Alexander. --=20 Love is an ideal thing, marriage a real thing; a confusion of the real with the ideal never goes unpunished. =09=09-- Goethe http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137