All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Giuliano Pochini <pochini@shiny.it>
Cc: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: .dimen ?
Date: Tue, 20 May 2003 10:51:13 +0200	[thread overview]
Message-ID: <s5hr86uc872.wl@alsa2.suse.de> (raw)
In-Reply-To: <1053277534.1358.7.camel@Jay>

At 18 May 2003 17:05:33 +0000,
Giuliano Pochini wrote:
> 
> [1  <text/plain (7bit)>]
> 
> 
> 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...


> A grep(1)
> in all sources show that it's referenced only in
> snd_ctl_elem_info_get_dimension() and
> snd_ctl_elem_info_get_dimensions(). The latter seems quite buggy (patch
> against 0.9.3 is attached).

thanks, patch is applied to cvs.


ciao,

Takashi


-------------------------------------------------------
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

  reply	other threads:[~2003-05-20  8:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-18 17:05 .dimen ? Giuliano Pochini
2003-05-20  8:51 ` Takashi Iwai [this message]
2003-05-20  9:58   ` Giuliano Pochini

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=s5hr86uc872.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=pochini@shiny.it \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.