From: Takashi Iwai Subject: Re: [RFC] Channel mapping API Date: Tue, 21 Aug 2012 15:14:06 +0200 Message-ID: References: <50337316.4080208@ladisch.de> <50337FBB.4020709@perex.cz> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id DAF6D265B59 for ; Tue, 21 Aug 2012 15:14:05 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Jaroslav Kysela Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 21 Aug 2012 14:35:57 +0200, Takashi Iwai wrote: > > At Tue, 21 Aug 2012 14:31:55 +0200, > Jaroslav Kysela wrote: > > > > Date 21.8.2012 14:15, Takashi Iwai wrote: > > > For getting the channel map, the driver could send a notification once > > > when routing is changed. > > > > This leads to this question: Why you define the map controls volatile? > > I think that the channel map changes can be tracked nicely using the > > standard control event notifications without any hidden changes. > > Perhaps, the value change event may be invoked each time after prepare > > and when the user space set the new values and also in above situation, > > when the channel map is changed on an external request. > > What I had in my mind for the volatile flag was how to avoid the > effect by "alsactl restore". But since the set op was changed only > for the prepared state, the volatile flag can be removed, I think. The VOLATILE flag is removed in the git tree now. Takashi