From: Takashi Iwai Subject: Re: Re: + v4l-720-alsa-support-for-saa7134-that-should-work-fix.patch added to -mm tree Date: Mon, 07 Nov 2005 16:54:54 +0100 Message-ID: References: <200511060743.jA67hpZa018948@shell0.pdx.osdl.net> <20051106001249.48d3ade0.akpm@osdl.org> <1131301995.13599.5.camel@mindpipe> <1131344803.10094.8.camel@localhost> <1131377615.8383.9.camel@mindpipe> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1131377615.8383.9.camel@mindpipe> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Lee Revell Cc: Mauro Carvalho Chehab , alsa-devel@lists.sourceforge.net, Andrew Morton , linux-kernel@vger.kernel.org, nshmyrev@yandex.ru, v4l@cerqueira.org List-Id: alsa-devel@alsa-project.org At Mon, 07 Nov 2005 10:33:35 -0500, Lee Revell wrote: >=20 > On Mon, 2005-11-07 at 04:26 -0200, Mauro Carvalho Chehab wrote: > > Lee, > >=20 > > Em Dom, 2005-11-06 =E0s 13:33 -0500, Lee Revell escreveu: > > > On Sun, 2005-11-06 at 00:12 -0800, Andrew Morton wrote: > > > > Well that didn't work. The problem is that > > > > drivers/media/video/saa7134/saa7134-alsa.c doesn't appear to be w= ired > > > > up into the build system - it simply doesn't get compiled. > > > >=20 > > > > Please send a fix against next -mm?=20 > > >=20 > > > Also please send all ALSA related patches to > > > alsa-devel@lists.sourceforge.net for review. > >=20 > > I'm sending you enclosed saa7134-alsa patch. To make easier to > > understand, I've merged all stuff. This is highly dependent of the ot= her > > saa7134 parts, since PCI stuff are common to both video and audio > > funcion on this device. > > This is meant to replace saa7134-oss (after more tests) that, > > currently, is part of saa7134 module. >=20 > OK, a brief review: >=20 > - Why couldn't you use ALSA's DMA API? This is OK, IMO. Basically, it's up to the driver. > - The DMA must be stopped and started in the trigger callback, not the > prepare callback. >=20 > - If this device lacks a volume control alsa-lib can emulate it in > software, just create a proper /usr/share/alsa/cards/your_card.conf > file. >=20 > - By ALSA convention the acceptable formats, sample rates, etc should > be directly defined in the snd_pcm_hardware_t structure. >=20 > - dev->oss needs to go. Agreed about the rest. Takashi ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php