mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-12 13:30:10 -05:00
conf-parser: add support for .d directories
This allows a configuration scheme where after loading configuration from "somefile", the parser loads configuration from files in directory "somefile.d". This feature needs to be enabled on a per-file basis, though, and this patch doesn't yet enable the feature for any files.
This commit is contained in:
parent
d97460045c
commit
1d7ce90139
6 changed files with 52 additions and 8 deletions
|
|
@ -617,7 +617,7 @@ int pa_daemon_conf_load(pa_daemon_conf *c, const char *filename) {
|
|||
ci.default_channel_map_set = ci.default_sample_spec_set = false;
|
||||
ci.conf = c;
|
||||
|
||||
r = f ? pa_config_parse(c->config_file, f, table, NULL, NULL) : 0;
|
||||
r = f ? pa_config_parse(c->config_file, f, table, NULL, false, NULL) : 0;
|
||||
|
||||
if (r >= 0) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue