From owner-freebsd-multimedia@FreeBSD.ORG Sun Sep 24 16:12:20 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 D7F7A16A416 for ; Sun, 24 Sep 2006 16:12:20 +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 B6A3D43D5D for ; Sun, 24 Sep 2006 16:12:13 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from Andro-Beta.Leidinger.net (p54A5CF73.dip.t-dialin.net [84.165.207.115]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k8OFluts047454; Sun, 24 Sep 2006 17:47:56 +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 k8OGC6Tj058474; Sun, 24 Sep 2006 18:12:07 +0200 (CEST) (envelope-from netchild@FreeBSD.org) Date: Sun, 24 Sep 2006 18:12:48 +0200 From: Alexander Leidinger To: User1001 Message-ID: <20060924181248.0b5f357e@Magellan.Leidinger.net> In-Reply-To: <4516966F.4080904@globaleyes.net> References: <200609232045.k8NKjljR016351@repoman.freebsd.org> <4515A5C5.8090805@errno.com> <20060924000647.68487b4d@Magellan.Leidinger.net> <4516966F.4080904@globaleyes.net> 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: multimedia@FreeBSD.org Subject: Re: Improvements in the soundsystem 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: Sun, 24 Sep 2006 16:12:20 -0000 Quoting User1001 (Sun, 24 Sep 2006 09:30:07 -0500): CCing multimedia@, more people are interested in this. > Advances in audio controls is good and important. I would really LIKE to > be able to control my entire soundcard with native FreeBSD > functionality, and I would like to see audio S/W "grow up" and provide > functionality beyond the "simple" stereo image, especially since I have > multiple 5.1 audio hardware (soundcard, speakers, headphones), that > right now, are pretty much useless for anything BUT "simple" stereo. This one will be addressed by the patches from Ariff and by the commit we are talking about (and some more work). > One request that _I_ would add to the continuing development of audio > S/W is the full usability and control of real MIDI devices (not S/W > emulation), which is usually a function of the soundcard or another > addon card specifically for MIDI. Attempts to enhance emu10k for full > MIDI control have not been very fruitful (for me, anyhow) with a > Soundblaster Live! soundcard, so perhaps more advances in the audio > infrastructure will help. This one is not addressed at all. We have MIDI stuff in -current, but it is far from complete. And we have nobody who is interested in improving it. I don't have MIDI stuff myself (except maybe build-in stuff in the soundcard, but I have no need for it), so I'm not the right person to do something here (except committing stuff submitted by other people). Ariff is working on the generic sound stuff in his rare free time. There are some people which work on some audio driver (envy24, emu10kx), but all of them don't have much time and it doesn't look like they work on generic MIDI stuff. Ryan may be interested in it, but he is busy with classes and continuing to improve the stuff he did in the SoC. So it's not about objections to improve this part, it's about lack of resources. If some people here with C skills are interested in improving it but don't feel skilled enough: forget about your skills, just try to do it. If you don't know something, ask on multimedia@. I'm sure there are enough people which can point to helpful resources. I can also arrange access to the FreeBSD wiki in case those people want to coordinate and collaborate there. An example where we got several improvements in a short timeframe by using a wiki page is the linux stuff, http://wiki.FreeBSD.org/linuxk-kernel for more. I would like to do something like this for sound too. If someone has some ideas what to list on such a page for sound, please tell me about it and I will create the initial page. We don't have enough man-power in the sound system and if you wait for someone else to do something, nothing will be done. So please, take 5-10 minutes and write something up, send it to me, and I will put it up on the wiki. If everyone just picks a small item and fixes something (you don't need to be able to program, it is even enough if we get a list of things which work and which don't at the beginning, e.g., MIDI allows to do x, y and z, and we only can do half of y in FreeBSD), we all get a huge improvement. Bye, Alexander. > Alexander Leidinger wrote: > > 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