All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Ziv Haziz <ziv.haziz@dspg.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: loading mixer control values from a different file when opening an device
Date: Mon, 02 Apr 2012 10:01:47 +0200	[thread overview]
Message-ID: <4F795CEB.4090203@ladisch.de> (raw)
In-Reply-To: <loom.20120401T171938-797@post.gmane.org>

Ziv Haziz wrote:
> i would have like to load setting
> from a different file only when accessing the a
> specific device - something like this:
>
> pcm.MyDevice {
>   type hooks
>   slave.pcm {
>     type hw
>     device 0
>   }
>
>   <i would like to place here something which
>  will "func load" from another file>
>
>   hooks.0 {
>     type ctl_elems
>     hook_args [
>
>       ]
>
> }

The "hooks" PCM plugin is something completely separate
from the global "@hooks" mechanism.

You can include configuration files directly:
http://www.alsa-project.org/alsa-doc/alsa-lib/conf.html#conf_include

What is the actual problem you're trying to solve?


Regards,
Clemens

  reply	other threads:[~2012-04-02  7:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-01 15:31 loading mixer control values from a different file when opening an device Ziv Haziz
2012-04-02  8:01 ` Clemens Ladisch [this message]
     [not found]   ` <FC1850374E3CB245B9E97002380578E001CC639B@ILMAIL01.dspg.com>
2012-04-02 13:04     ` Clemens Ladisch

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=4F795CEB.4090203@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=ziv.haziz@dspg.com \
    /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.