Re: RME HDSP: X11-less mixer state restoring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 3, 2011 at 12:21 PM, Andrew Gaydenko <a@xxxxxxxxxxxx> wrote:
> On Sunday 03 April 2011 19:59:30 Paul Davis wrote:
>> On Sun, Apr 3, 2011 at 11:51 AM, Andrew Gaydenko <a@xxxxxxxxxxxx> wrote:
>> > How to?
>>
>> example script below. its not commented or explained, because i wrote
>> it for me alone.
>
> Paul, thanks! I'm not bash guru at all, but will try to dig in your script. In
> fact, if I understand correctly, it isn't a restoring (to restore we must at
> first save a state, and it is impossible to read current state), but it is a
> setting.

store the state of the n'th card (starting from zero) in a file called
foobar: alsactl -f foobar store N
restore the state of the nth card (starting from zero) from a file
called foobar: alsactl -f foobar restore N

a properly configured system does this for all cards at system
shutdown and at boot time.

my script allows more specific kinds of setup to be done without any
reference to any existing state.

--p
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux