From owner-cvs-all@FreeBSD.ORG Sun Jul 31 17:25:51 2005 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2728616A420; Sun, 31 Jul 2005 17:25:51 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id F099743D49; Sun, 31 Jul 2005 17:25:49 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from fwd20.aul.t-online.de by mailout11.sul.t-online.com with smtp id 1DzHV1-0003XY-01; Sun, 31 Jul 2005 19:21:19 +0200 Received: from Andro-Beta.Leidinger.net (VO8XcMZFZeJ0A-N52NNIlgJV9856mkU1pqfBtgDbBAR6+OiFmEwaoS@[84.165.251.203]) by fwd20.sul.t-online.de with esmtp id 1DzHUw-0TW0Tg0; Sun, 31 Jul 2005 19:21:14 +0200 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j6VHLDhF004448; Sun, 31 Jul 2005 19:21:13 +0200 (CEST) (envelope-from netchild@FreeBSD.org) Date: Sun, 31 Jul 2005 19:21:13 +0200 From: Alexander Leidinger To: Sam Leffler Message-ID: <20050731192113.5746217a@Magellan.Leidinger.net> In-Reply-To: <42ED055E.90803@errno.com> References: <200507311616.j6VGGM4W079108@repoman.freebsd.org> <42ED055E.90803@errno.com> Organization: FreeBSD X-Mailer: Sylpheed-Claws 1.9.13 (GTK+ 2.6.8; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ID: VO8XcMZFZeJ0A-N52NNIlgJV9856mkU1pqfBtgDbBAR6+OiFmEwaoS@t-dialin.net X-TOI-MSGID: 731e0731-daa3-4b8a-b648-2df0ae481961 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/sound/pcm buffer.c channel.c dsp.c fake.c feeder_fmt.c feeder_rate.c sound.h vchan.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jul 2005 17:25:51 -0000 On Sun, 31 Jul 2005 10:07:42 -0700 Sam Leffler wrote: > Alexander Leidinger wrote: > > > * The arrival of 24/32 also come with a price. Applications > > that can do 24/32bit playback need to be recompiled (notably > > mplayer). Use (recompiled) mplayer to experiment / test / > > debug this various format using -af format=fmt. Note that > > 24bit seeking in mplayer is a little bit broken, sometimes > > can cause silence or loud static noise. Pausing / seeking > > few times can solve this problem. > > You don't have to rebuild world entirely for this. Simply > > copy /usr/src/sys/sys/soundcard.h to > > /usr/include/sys/soundcard.h would suffice. Few drivers also > > need recompilation, and this can be done via > > /usr/src/sys/modules/sound/. > > Bump FreeBSD version? I'm not sure (does not knowing it imply that I have to?). soundcard.h contains new defines. If an app/port finds those new defines it knows that the new feature is there. I think this should cover at least 99% of the cases. Does someone think this doesn't cover 100%? As for runtime issues: /dev/dsp will return an error if an app wants to use an usupported format. Every app should be able to handle it (else you may have a problem when you get a new soundcard which doesn't supports what the previous one supported). Bye, Alexander. -- "One world, one web, one program" -- Microsoft promotional ad "Ein Volk, ein Reich, ein Fuehrer" -- Adolf Hitler http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7