From: Clemens Ladisch <clemens@ladisch.de>
To: Ricard Wanderlof <ricard.wanderlof@axis.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: Softvol only after device has opened
Date: Tue, 09 Jun 2015 14:39:07 +0200 [thread overview]
Message-ID: <5576DE6B.4050301@ladisch.de> (raw)
In-Reply-To: <alpine.DEB.2.02.1506091428130.15001@lnxricardw1.se.axis.com>
Ricard Wanderlof wrote:
> What I was getting at was that although I can't do:
>
> $ amixer sset Capture 192
>
> if Capture is defined by the softvol plugin, and I haven't opened the
> device prior to running amixer, however
>
> $ alsactl restore 0:
>
> works, assuming that I've saved the settings previously, even before the
> device is opened. I can understand that this is very useful and desired,
> but given that the underlying control does not yet exist, it puzzles me
> that it actually works.
Have a look at /var/lib/asound.state. "alsactl store" marks any user-
space controls; when "alsactl restore" sees this flag, it will explicitly
recreate the control.
Regards,
Clemens
next prev parent reply other threads:[~2015-06-09 12:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-09 11:08 Softvol only after device has opened Ricard Wanderlof
2015-06-09 11:52 ` Clemens Ladisch
2015-06-09 12:19 ` Ricard Wanderlof
2015-06-09 12:21 ` Clemens Ladisch
2015-06-09 12:32 ` Ricard Wanderlof
2015-06-09 12:39 ` Clemens Ladisch [this message]
2015-06-09 14:32 ` Ricard Wanderlof
2015-06-09 14:38 ` Takashi Iwai
2015-06-09 14:45 ` Ricard Wanderlof
2015-06-09 14:51 ` Takashi Iwai
2015-06-09 15:53 ` Ricard Wanderlof
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=5576DE6B.4050301@ladisch.de \
--to=clemens@ladisch.de \
--cc=alsa-devel@alsa-project.org \
--cc=ricard.wanderlof@axis.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.