[alsa-devel] Re-reading alsa-lib configuration when opening sound device
Pavel Hofman
pavel.hofman at ivitera.com
Tue Oct 2 13:36:40 CEST 2018
Dne 2.10.2018 v 13:26 Clemens Ladisch napsal(a):
> Pavel Hofman wrote:
>> when is the alsa-lib config loaded by the library/application?
>
> Whenever a device is opened, alsa-lib checks the timestamp of the alsa.conf file.
>
Hi Clemens,
Thanks a lot. Does it concern only /usr/share/alsa/alsa.conf file, or
the files configured in the config hooks too (/etc/asound.conf,
/alsa.conf.d/, ~/.asoundrc)? Based on your answer I assume not :-)
> Touch that file. If you cannot modify the global configuration file,
redirect
> the program to use your own file by setting the ALSA_CONFIG_PATH
environment
> variable.
Could I setup ALSA_CONFIG_PATH=$USER/.my_global_alsa.conf as a symlink
to /usr/share/alsa/alsa.conf and touch this symlink only?
I very much appreciate this great help.
Pavel.
More information about the Alsa-devel
mailing list