Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Takashi Iwai <tiwai@suse.de>
Cc: Lee Revell <rlrevell@joe-job.com>, alsa-devel@lists.sourceforge.net
Subject: Re: Surround sound and volume control question
Date: Mon, 9 Oct 2006 13:04:51 -0400	[thread overview]
Message-ID: <20061009170451.GA19661@nevyn.them.org> (raw)
In-Reply-To: <s5hbqolr19y.wl%tiwai@suse.de>

On Mon, Oct 09, 2006 at 04:50:49PM +0200, Takashi Iwai wrote:
> > Is a ganged master control fundamentally incompatible with individual
> > channel volumes?  If so, doesn't it mean that this problem can never be
> > solved by an abstract mixer layer?
> 
> It's possible to create a virtual volume element that represents the
> base attenuation level.  Suppose "Master" to be a virtual volume (a
> mono), then the real volume values for front, rear and CLFE become
> "front + master", "rear + master" and "CLFE + master".  The values
> have to be clipped to max 31 (or 63).
> 
> The problem is that the mixer values are no longer corresponding to
> the register values as 1:1.  Thus the current code for get/put
> callbacks can't be used as it is.  The values have to be cached and
> handled internally independent from the register values...

Do you think this is a better choice than using softvol?  If so, I
will work on the implementation later this week.

-- 
Daniel Jacobowitz
CodeSourcery

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

  reply	other threads:[~2006-10-09 17:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-08 22:27 Surround sound and volume control question Daniel Jacobowitz
2006-10-09 13:37 ` Takashi Iwai
2006-10-09 13:45   ` Daniel Jacobowitz
2006-10-09 13:49     ` Takashi Iwai
2006-10-09 13:55     ` Lee Revell
2006-10-09 14:38       ` Daniel Jacobowitz
2006-10-09 14:42         ` Lee Revell
2006-10-09 14:50           ` Takashi Iwai
2006-10-09 17:04             ` Daniel Jacobowitz [this message]
2006-10-09 17:09               ` Takashi Iwai
2006-10-09 14:53           ` Daniel Jacobowitz
2006-10-10  1:54         ` Anders Johansson

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=20061009170451.GA19661@nevyn.them.org \
    --to=drow@false.org \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=rlrevell@joe-job.com \
    --cc=tiwai@suse.de \
    /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