mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
alsa-mixer: Change profile-sets directory to PA_SRCDIR
A recent patch changed the path files from PA_BUILDDIR to PA_SRCDIR. Do the same to the profile-set files for consistency (and to fix out of tree builds). Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
168751dc66
commit
50cf983194
1 changed files with 1 additions and 1 deletions
|
|
@ -4147,7 +4147,7 @@ pa_alsa_profile_set* pa_alsa_profile_set_new(const char *fname, const pa_channel
|
||||||
fname = "default.conf";
|
fname = "default.conf";
|
||||||
|
|
||||||
fn = pa_maybe_prefix_path(fname,
|
fn = pa_maybe_prefix_path(fname,
|
||||||
pa_run_from_build_tree() ? PA_BUILDDIR "/modules/alsa/mixer/profile-sets/" :
|
pa_run_from_build_tree() ? PA_SRCDIR "/modules/alsa/mixer/profile-sets/" :
|
||||||
PA_ALSA_PROFILE_SETS_DIR);
|
PA_ALSA_PROFILE_SETS_DIR);
|
||||||
|
|
||||||
r = pa_config_parse(fn, NULL, items, NULL, ps);
|
r = pa_config_parse(fn, NULL, items, NULL, ps);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue