From: Giuliano Pochini Subject: Re: .dimen ? Date: Tue, 20 May 2003 11:58:38 +0200 (CEST) Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Takashi Iwai Cc: alsa-devel List-Id: alsa-devel@alsa-project.org On 20-May-2003 Takashi Iwai wrote: >> In struct sndrv_ctl_elem_info what is the union .dimen for ? > > it was introduced to describe the size of matrix controls. > basically the control API accepts the linear index, so user (or > alsa-lib) needs to map the multi-dimensional array to the linear > index. the dimen field specifies the number of elements in each > dimension. (up to 4 dimensions are supposed.) > so far, no driver supports this feature yet, though... Fine, it's very useful. I'll try it ASAP. Bye. ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge