diff options
Diffstat (limited to 'libs/ardour/audio_unit.cc')
-rw-r--r-- | libs/ardour/audio_unit.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libs/ardour/audio_unit.cc b/libs/ardour/audio_unit.cc index 4a63f66cf5..3eb4672160 100644 --- a/libs/ardour/audio_unit.cc +++ b/libs/ardour/audio_unit.cc @@ -74,7 +74,7 @@ _render_callback(void *userData, } static int -save_property_list (CFPropertyListRef propertyList, Glib::ustring path) +save_property_list (CFPropertyListRef propertyList, string path) { CFDataRef xmlData; @@ -122,7 +122,7 @@ save_property_list (CFPropertyListRef propertyList, Glib::ustring path) static CFPropertyListRef -load_property_list (Glib::ustring path) +load_property_list (string path) { int fd; CFPropertyListRef propertyList; @@ -291,7 +291,7 @@ AUPlugin::AUPlugin (AudioEngine& engine, Session& session, boost::shared_ptr<CAC frames_processed (0) { if (!preset_search_path_initialized) { - Glib::ustring p = Glib::get_home_dir(); + string p = Glib::get_home_dir(); p += "/Library/Audio/Presets:"; p += preset_search_path; preset_search_path = p; @@ -1093,7 +1093,7 @@ AUPlugin::load_preset (const string& preset_label) #ifdef AU_STATE_SUPPORT bool ret = false; CFPropertyListRef propertyList; - Glib::ustring path; + string path; PresetMap::iterator x = preset_map.find (preset_label); if (x == preset_map.end()) { @@ -1123,8 +1123,8 @@ AUPlugin::save_preset (string preset_name) { #ifdef AU_STATE_SUPPORT CFPropertyListRef propertyList; - vector<Glib::ustring> v; - Glib::ustring user_preset_path; + vector<string> v; + string user_preset_path; bool ret = true; std::string m = maker(); @@ -1436,7 +1436,7 @@ AUPluginInfo::load (Session& session) } } -Glib::ustring +string AUPluginInfo::au_cache_path () { return Glib::build_filename (ARDOUR::get_user_ardour_path(), "au_cache"); @@ -1780,7 +1780,7 @@ AUPluginInfo::save_cached_info () } - Glib::ustring path = au_cache_path (); + string path = au_cache_path (); XMLTree tree; tree.set_root (node); @@ -1794,7 +1794,7 @@ AUPluginInfo::save_cached_info () int AUPluginInfo::load_cached_info () { - Glib::ustring path = au_cache_path (); + string path = au_cache_path (); XMLTree tree; if (!Glib::file_test (path, Glib::FILE_TEST_EXISTS)) { @@ -1858,7 +1858,7 @@ AUPluginInfo::load_cached_info () } void -AUPluginInfo::get_names (CAComponentDescription& comp_desc, std::string& name, Glib::ustring& maker) +AUPluginInfo::get_names (CAComponentDescription& comp_desc, std::string& name, string& maker) { CFStringRef itemName = NULL; |