From owner-freebsd-multimedia@FreeBSD.ORG Sat Sep 23 22:06:17 2006 Return-Path: X-Original-To: multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B27916A412; Sat, 23 Sep 2006 22:06:17 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAA5C43D5C; Sat, 23 Sep 2006 22:06:16 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from Andro-Beta.Leidinger.net (p54A5D9E7.dip.t-dialin.net [84.165.217.231]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k8NLg3uX040781; Sat, 23 Sep 2006 23:42:04 +0200 (CEST) (envelope-from netchild@FreeBSD.org) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k8NM667Q005735; Sun, 24 Sep 2006 00:06:06 +0200 (CEST) (envelope-from netchild@FreeBSD.org) Date: Sun, 24 Sep 2006 00:06:47 +0200 From: Alexander Leidinger To: Sam Leffler , current@FreeBSD.org, multimedia@FreeBSD.org Message-ID: <20060924000647.68487b4d@Magellan.Leidinger.net> In-Reply-To: <4515A5C5.8090805@errno.com> References: <200609232045.k8NKjljR016351@repoman.freebsd.org> <4515A5C5.8090805@errno.com> Organization: FreeBSD X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: Subject: Improvements in the soundsystem (was: Re: cvs commit: src/sys/sys param.h soundcard.h src/sys/dev/sound/pcm buffer.c buffer.h channel.c channel.h channel_if.m dsp.c dsp.h mixer.c mixer.h sound.c sound.h) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Sep 2006 22:06:17 -0000 Quoting Sam Leffler (Sat, 23 Sep 2006 14:23:17 -0700): > Can you please post something about what this addition means to users? > e.g. you can now run xyz apps that previously didn't work or were crippled. I'm not aware of an application which makes use of those features. ATM you can think about it as pure infrastructure work. As soon as some parts are pushed down into drivers, you have better control about your hardware. ATM the mixer only shows hardcoded stuff. There are less controls than there are output jacks on some soundcards. These changes provide the kernel interface to change the drivers to control the volume of each output channel the card provides. Ariff has some other changes in the wings which allow us to work better with multi-channel stuff (e.g., 5.1 surround instead of only stereo). But AFAIK this is just about the internals of the soundsystem. The SoC project provides a kernel interface to some of this new stuff. When 4Front freezes the API (there are parts which aren't fully set in stone yet) we will be able to give names to some parts of the soundsystem, query the name of the currently running song (if set) and some other nice stuff. Already possible is the synchronized start of multiple channels (even across devices), but an application has to contain code to use this feature. There's also better control of mute/pause, but again, I'm not aware of an application which uses this ATM. And while I'm at it: I want to highlight the docs of the functions in the kernel. I'm generating a PDF with doxygen right now and it will be available from http://www.Leidinger.net/FreeBSD/src_docs/ later (have a look at the date, it should be recent and not from last month as it is as of this writting). Bye, Alexander. -- ...and that is how we know the Earth to be banana-shaped. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137