From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: matrix mixer control (Re: Complex mixer questio Date: Tue, 01 Apr 2003 16:16:52 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <3E893713.20806@libero.it> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Jaroslav Kysela Cc: Abramo Bagnara , Paul Davis , Giuliano Pochini , alsa-devel List-Id: alsa-devel@alsa-project.org At Tue, 1 Apr 2003 16:08:01 +0200 (CEST), Jaroslav wrote: > > On Tue, 1 Apr 2003, Abramo Bagnara wrote: > > > > > I agree with Jaroslav fully: > > - have one ALSA control for each primitive hw control (1536 different > > controls) > > - add a field to struct sndrv_ctl_elem_info explaining how index field > > of sndvr_ctl_elem_id should be interpreted (32,16+16,10+11+11, ecc.) > > > > This permit to have native support for N dimensional control. > > > > About kernel memory issues, this concerns easily solvable implementation > > detail to not worry about when designing sane API. > > Ok, I've added the dimension description to the info structure. Although > it is completely irrelevant to data transfers. sorry for the late response. not much to say at this time, as you already decided. i think the new scheme is fine, too. a tiny glitch would be the use of numid in alsactl, although you can avoid this via --force option. > Also, I've implemented multi element in the kernel space to save memory > and it makes the searching faster. The reference code is in the trident > driver. I'll recode other drivers containing many "same" controls to use > this method later. this sounds promising. ciao, Takashi ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/