All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Revell <rlrevell@joe-job.com>
To: Jaroslav Kysela <perex@suse.cz>
Cc: Mikael Magnusson <mikaelmagnusson@glocalnet.net>,
	ALSA development <alsa-devel@alsa-project.org>
Subject: Re: [PATCH 1/5] emu10k1 SB Live: Master volume and front channels via fxbus 8,9
Date: Tue, 22 Feb 2005 17:04:16 -0500	[thread overview]
Message-ID: <1109109856.31071.44.camel@krustophenia.net> (raw)
In-Reply-To: <Pine.LNX.4.58.0502220925540.1748@pnote.perex-int.cz>

On Tue, 2005-02-22 at 09:31 +0100, Jaroslav Kysela wrote:
> On Mon, 21 Feb 2005, Mikael Magnusson wrote:
> 
> > This is the first in a set of five patches that add master volume and 
> > switch controls and front pcm channels via fxbus 8,9 to SB Live.
> 
> I still feel that it's broken idea. We have also problems with AC97
> where the surround/center&lfe volumes are separate from AC97 Master Volume
> control, too (at least for Sigmatel codecs).
> 
> We need a layer in user space to handle these issues where we can express
> the control relations in very easy way and not mess the kernel with more 
> dust which is not necessary.
> 
> It might be easy to write a small daemon which will create "Master Volume" 
> control for SB cards at this time until a decent solution in alsa-lib is 
> finished.

I believe Mikael's patch is correct.  At least, partially.

There are two separate issues that the patch addresses.  One is that
unlike the Audigy configuration, the driver does not use separate FX
buses for front output and PCM.  So attenuating the front channels will
attenuate *all* PCM samples.  This has to be fixed in the driver.  And
it's essentially zero cost as the extra FX buses and GPRs are available.

The other issue is the lack of a master volume control.  Provided the
first issue is addressed, perex is correct in that this can be solved in
userspace.

Personally I feel that the entire patch should be applied, until the
required abstraction layer exists in alsa-lib.  The second part of the
patch can be trivially reverted when this is available.

Mikael, can you split your patch into the part that moves PCM and front
to separate FX buses, and the part that adds the master volume?

Lee



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

  parent reply	other threads:[~2005-02-22 22:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-21 19:44 [PATCH 1/5] emu10k1 SB Live: Master volume and front channels via fxbus 8,9 Mikael Magnusson
2005-02-22  8:31 ` Jaroslav Kysela
2005-02-22 10:19   ` Mikael Magnusson
2005-02-22 10:19     ` Jaroslav Kysela
2005-02-22 11:38       ` Mikael Magnusson
2005-02-22 12:01         ` Jaroslav Kysela
2005-02-22 22:04   ` Lee Revell [this message]
2005-02-23  8:22     ` Jaroslav Kysela
2005-02-23  8:57       ` Mikael Magnusson
2005-02-23  9:00         ` Jaroslav Kysela
2005-02-23 10:22           ` Takashi Iwai
2005-02-25 16:59             ` Lee Revell

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=1109109856.31071.44.camel@krustophenia.net \
    --to=rlrevell@joe-job.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=mikaelmagnusson@glocalnet.net \
    --cc=perex@suse.cz \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.