alsa-project / snd-firewire-ctl-services

A set of server programs for audio and music units on IEEE 1394 bus supported by Linux sound subsystem a.k.a. ALSA.
GNU General Public License v3.0
35 stars 5 forks source link

Restart alsa-restore.service after launching the service program #9

Open takaswie opened 4 years ago

takaswie commented 4 years ago

This is a feature request for planned system service program.

The alsactl(1) in alsa-utils installs some system services to store/restore current state of control element sets in sound card. This is useful to configure device status automatically.

This request is mentioned by @ovenwerks in my RFT message to LAD: http://linux-audio.4202.n7.nabble.com/RFT-ALSA-control-service-programs-for-Fireworks-board-module-tp110065p110088.html

Unfortunately, current implementation of alsactl includes some bugs to represent the status in cache file. In my memory, it's file format issue. As a result, alsactl restores control element set unexpected by the service program.

VennStone commented 3 years ago

This would be a most welcome addition. I was able to set input-gain, output-volume, and set mic to line on my apogee duet using a bash script with hinawa-utils.