public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Revell <rlrevell@joe-job.com>
To: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Cc: alsa-devel@lists.sourceforge.net, Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org, nshmyrev@yandex.ru,
	v4l@cerqueira.org
Subject: Re: + v4l-720-alsa-support-for-saa7134-that-should-work-fix.patch added to -mm tree
Date: Mon, 07 Nov 2005 10:33:35 -0500	[thread overview]
Message-ID: <1131377615.8383.9.camel@mindpipe> (raw)
In-Reply-To: <1131344803.10094.8.camel@localhost>

On Mon, 2005-11-07 at 04:26 -0200, Mauro Carvalho Chehab wrote:
> Lee,
> 
> Em Dom, 2005-11-06 às 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 wired
> > > up into the build system - it simply doesn't get compiled.
> > > 
> > > Please send a fix against next -mm? 
> > 
> > Also please send all ALSA related patches to
> > alsa-devel@lists.sourceforge.net for review.
> 
> 	I'm sending you enclosed saa7134-alsa patch. To make easier to
> understand, I've merged all stuff. This is highly dependent of the other
> 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.

OK, a brief review:

 - Why couldn't you use ALSA's DMA API?

 - The DMA must be stopped and started in the trigger callback, not the
prepare callback.

 - 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.

 - By ALSA convention the acceptable formats, sample rates, etc should
be directly defined in the snd_pcm_hardware_t structure.

 - dev->oss needs to go.

Lee


  reply	other threads:[~2005-11-07 15:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200511060743.jA67hpZa018948@shell0.pdx.osdl.net>
2005-11-06  8:12 ` + v4l-720-alsa-support-for-saa7134-that-should-work-fix.patch added to -mm tree Andrew Morton
2005-11-06 18:33   ` Lee Revell
2005-11-07  6:26     ` Mauro Carvalho Chehab
2005-11-07 15:33       ` Lee Revell [this message]
2005-11-07 15:54         ` [Alsa-devel] " Takashi Iwai
2005-11-07 19:48           ` Andrew Morton
2005-11-07 20:19             ` Lee Revell
2005-11-07 20:36             ` Mauro Carvalho Chehab
2005-11-07  6:39   ` Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1131377615.8383.9.camel@mindpipe \
    --to=rlrevell@joe-job.com \
    --cc=akpm@osdl.org \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@brturbo.com.br \
    --cc=nshmyrev@yandex.ru \
    --cc=v4l@cerqueira.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox