alsa: Fix mixer path when running from build tree
[platform/upstream/pulseaudio.git] / src / modules / alsa / alsa-mixer.c
index b65baeb..554a57d 100644 (file)
@@ -2373,7 +2373,7 @@ static int path_verify(pa_alsa_path *p) {
 
 static const char *get_default_paths_dir(void) {
     if (pa_run_from_build_tree())
-        return PA_BUILDDIR "/modules/alsa/mixer/paths/";
+        return PA_SRCDIR "/modules/alsa/mixer/paths/";
     else
         return PA_ALSA_PATHS_DIR;
 }