From 483a88d54e11dc612d8ebf6b8f8c830650cec77e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 2 Apr 2011 13:53:03 +0000 Subject: add the standard mechanism for search paths to the path used for export formats, so that we can find them in a bundle git-svn-id: svn://localhost/ardour2/branches/3.0@9261 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/export_profile_manager.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libs/ardour/export_profile_manager.cc') diff --git a/libs/ardour/export_profile_manager.cc b/libs/ardour/export_profile_manager.cc index ff11262109..4d2b7795a4 100644 --- a/libs/ardour/export_profile_manager.cc +++ b/libs/ardour/export_profile_manager.cc @@ -29,6 +29,7 @@ #include "ardour/export_profile_manager.h" #include "ardour/export_format_specification.h" +#include "ardour/export_formats_search_path.h" #include "ardour/export_timespan.h" #include "ardour/export_channel_configuration.h" #include "ardour/export_filename.h" @@ -60,14 +61,12 @@ ExportProfileManager::ExportProfileManager (Session & s, std::string xml_node_na , format_list (new FormatList ()) { - /* Initialize path variables */ export_config_dir = user_config_directory(); export_config_dir /= "export"; - search_path += export_config_dir; - search_path += system_data_search_path().add_subdirectory_to_paths("export"); + search_path += export_formats_search_path(); info << string_compose (_("Searching for export formats in %1"), search_path.to_string()) << endmsg; -- cgit v1.2.3