diff options
author | Robin Gareus <robin@gareus.org> | 2018-12-01 05:33:26 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-12-01 05:33:26 +0100 |
commit | b66726fdc12c91dc55be0cf18385aea06a300e15 (patch) | |
tree | d49ff24bfc5a5d44082bb9839500e3d09be1c401 /libs/ardour/audio_unit.cc | |
parent | 0ce0c4769760a2fd139ba845f901d43338d6d0ea (diff) |
Fix AU preset handling
load_property_list() takes a file-path (not URI). Actually it's not
clear why we've ever used a `file:///` URI internally.
Diffstat (limited to 'libs/ardour/audio_unit.cc')
-rw-r--r-- | libs/ardour/audio_unit.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/audio_unit.cc b/libs/ardour/audio_unit.cc index 0482ff2bb6..0b68c95dce 100644 --- a/libs/ardour/audio_unit.cc +++ b/libs/ardour/audio_unit.cc @@ -2279,7 +2279,7 @@ AUPlugin::do_save_preset (string preset_name) DEBUG_TRACE (DEBUG::AudioUnits, string_compose("AU Saving Preset to %1\n", user_preset_path)); - return string ("file:///") + user_preset_path; + return user_preset_path; } //----------------------------------------------------------------------------- @@ -2556,7 +2556,7 @@ AUPlugin::find_presets () */ if (check_and_get_preset_name (get_comp()->Comp(), path, preset_name)) { - user_preset_map[preset_name] = "file:///" + path; + user_preset_map[preset_name] = path; DEBUG_TRACE (DEBUG::AudioUnits, string_compose("AU Preset File: %1 > %2\n", preset_name, path)); } else { DEBUG_TRACE (DEBUG::AudioUnits, string_compose("AU INVALID Preset: %1 > %2\n", preset_name, path)); |