Oops, fix build.
[ardour.git] / libs / ardour / export_profile_manager.cc
index d745b1f94c536cb67d00eca35d119b5e67b5e20a..24ccd102a0396ba5ff3975aa18219775e28fd033 100644 (file)
@@ -67,7 +67,14 @@ ExportProfileManager::ExportProfileManager (Session & s) :
        search_path += export_config_dir;
 
        search_path += ardour_search_path().add_subdirectory_to_paths("export");
-       search_path += system_config_search_path().add_subdirectory_to_paths("export");;
+
+        sys::path sys_export = ardour_module_directory();
+        sys_export /= "export";
+        
+       search_path += sys_export;
+
+        info << string_compose (_("Searching for export formats in %1"), search_path.to_string()) << endmsg;
+        cerr << string_compose (_("Searching for export formats in %1"), search_path.to_string()) << endl;
 
        /* create export config directory if necessary */
 
@@ -290,7 +297,7 @@ ExportProfileManager::find_file (std::string const & pattern)
 }
 
 void
-ExportProfileManager::set_selection_range (nframes_t start, nframes_t end)
+ExportProfileManager::set_selection_range (framepos_t start, framepos_t end)
 {
 
        if (start || end) {
@@ -307,7 +314,7 @@ ExportProfileManager::set_selection_range (nframes_t start, nframes_t end)
 }
 
 std::string
-ExportProfileManager::set_single_range (nframes_t start, nframes_t end, string name)
+ExportProfileManager::set_single_range (framepos_t start, framepos_t end, string name)
 {
        single_range_mode = true;