From owner-freebsd-current@FreeBSD.ORG Wed Aug 23 07:51:58 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 7CE8816A4DD; Wed, 23 Aug 2006 07:51:58 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx.gfk.ru (mx.gfk.ru [84.21.231.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AB4143D58; Wed, 23 Aug 2006 07:51:56 +0000 (GMT) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from ex.hhp.local by mx.gfk.ru (MDaemon PRO v9.0.5) with ESMTP id md50000420225.msg; Wed, 23 Aug 2006 11:51:28 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 23 Aug 2006 11:51:24 +0400 Content-class: urn:content-classes:message Message-ID: <78664C02FF341B4FAC63E561846E3BCC546A@ex.hhp.local> In-Reply-To: <44EB72FC.8040508@FreeBSD.org> X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [RFC] Summer of Code -- OSSv4 audio compatibility Thread-Index: AcbGL7OAH/PYGjRvRGWfKbeo32L8DQASCvhA From: "Yuriy Tsibizov" To: "Ryan Beasley" X-Spam-Processed: mx.gfk.ru, Wed, 23 Aug 2006 11:51:28 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.30 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-Envelope-From: Yuriy.Tsibizov@gfk.ru X-MDAV-Processed: mx.gfk.ru, Wed, 23 Aug 2006 11:51:28 +0400 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 07:51:58 -0000 > Hello, current@ & multimedia@! >=20 > =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. >=20 > 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=20 > 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=20 > that area.) >=20 > For information on the ioctls, please take a look at > http://wiki.freebsd.org/RyanBeasley/ioctlref . >=20 > =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 . >=20 > Comments, suggestions, etc., would be hugely appreciated! Ryan, will there be any changes for hardware drivers? And, as I know you have emu10kx-compatible sound card, can you=20 test your sound buffering changes with EMU_PLAY_BUFSZ set to=20 EMUPAGESIZE*2 or larger (dev/sound/pci/emu10kx.h, line49). With 4K (=3DEMUPAGESIZE) playback buffer sound does not has lag or lost samples, but there was problems with large one (http://docs.freebsd.org/cgi/mid.cgi?D562966835368E4C8DDF68BC113A97B15F0 643). On opposite side, with small buffer I have a lot of noise when my system has a lot of disk activity or kernel printf's. You can use http://www.linksplace.com/wavsounds/pong.wav as a good sample of "bad file" for large buffer. Yuriy.