]> code.delx.au - pulseaudio/commitdiff
alsa-mixer: Change profile-sets directory to PA_SRCDIR
authorDavid Henningsson <david.henningsson@canonical.com>
Tue, 16 Apr 2013 12:44:05 +0000 (14:44 +0200)
committerDavid Henningsson <david.henningsson@canonical.com>
Tue, 16 Apr 2013 12:44:05 +0000 (14:44 +0200)
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>
src/modules/alsa/alsa-mixer.c

index 554a57df16f31253ffb0e7d6237f64ee50055f07..21655d70869bf5196c749f0fa226ea7b3ba13b03 100644 (file)
@@ -4147,7 +4147,7 @@ pa_alsa_profile_set* pa_alsa_profile_set_new(const char *fname, const pa_channel
         fname = "default.conf";
 
     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);
 
     r = pa_config_parse(fn, NULL, items, NULL, ps);