From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Jacobowitz Subject: Re: Surround sound and volume control question Date: Mon, 9 Oct 2006 13:04:51 -0400 Message-ID: <20061009170451.GA19661@nevyn.them.org> References: <20061008222726.GA23855@nevyn.them.org> <20061009134539.GA13343@nevyn.them.org> <1160402124.629.16.camel@mindpipe> <20061009143814.GA14827@nevyn.them.org> <1160404977.629.22.camel@mindpipe> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Takashi Iwai Cc: Lee Revell , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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