[alsa-devel] Re-reading alsa-lib configuration when opening sound device
Clemens Ladisch
clemens at ladisch.de
Tue Oct 2 15:42:40 CEST 2018
Pavel Hofman wrote:
> Dne 2.10.2018 v 13:26 Clemens Ladisch napsal(a):
>> Whenever a device is opened, alsa-lib checks the timestamp of the alsa.conf file.
>
> 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)?
It checks only the top configuration file.
> 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?
No; stat() would return the timestamp of the target.
Regards,
Clemens
More information about the Alsa-devel
mailing list