All of lore.kernel.org
 help / color / mirror / Atom feed
From: Giuliano Pochini <pochini@shiny.it>
To: tiwai@suse.de
Cc: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: About the matrix control...
Date: 10 Apr 2003 21:30:15 +0000	[thread overview]
Message-ID: <1050010218.1636.20.camel@Jay> (raw)


>> About the matrix control, what did you decide ?
> it's accessed via normal control API.
> you can create "duplicated" entries by specifying the count field for
> snd_kcontrol_new_t.  for each duplicated entry, only the volatile part
> is created uniquely, which is accessed via ctl->vd[index].

I can't think of any use of ->vd... Inside callbacks do I get the
control number by kcontrol->index ?  Ok, but why ?  It was much simpler
to make struct sndrv_ctl_elem_value.value.integer.value[] larger or put
data in .value_ptr-> . What am I missing ?

Bye.




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com

             reply	other threads:[~2003-04-10 21:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-10 21:30 Giuliano Pochini [this message]
2003-04-10 19:42 ` About the matrix control Jaroslav Kysela
  -- strict thread matches above, loose matches on Subject: below --
2003-04-06 22:35 Giuliano Pochini
2003-04-08 15:47 ` Takashi Iwai

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=1050010218.1636.20.camel@Jay \
    --to=pochini@shiny.it \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=tiwai@suse.de \
    /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.