alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Max Klein <mein_name@ist-einmalig.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: ALSA Control Interface - default values?
Date: Mon, 10 May 2010 16:31:57 +0100	[thread overview]
Message-ID: <20100510153156.GA29568@rakim.wolfsonmicro.main> (raw)
In-Reply-To: <20100510142507.41960@gmx.net>

On Mon, May 10, 2010 at 04:25:07PM +0200, Max Klein wrote:

> thanks for fast reply, may you tell me how the driver can set the defaults?

> EDIT: whoops, I guess it was an	error in reasoning from myself...as I have the control of all those variables outputted by the get and put callbacks, I just have to initialize those variables before initializing the control interface, right?

Yes, the driver just needs to make sure that whatever it uses to return
the current setting when queried is going to give the right answer from
the time the control is set up, normally by initialising variables
though if you're doing things like read data back from hardware then you
may be able to rely on the hardware defaults.

[Re-adding CC to alsa-devel - it's normal to do a reply to all for Linux
lists.]

      parent reply	other threads:[~2010-05-10 15:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-10 13:35 ALSA Control Interface - default values? Max Klein
2010-05-10 13:54 ` Mark Brown
     [not found]   ` <20100510142507.41960@gmx.net>
2010-05-10 15:31     ` Mark Brown [this message]

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=20100510153156.GA29568@rakim.wolfsonmicro.main \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=mein_name@ist-einmalig.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).