X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Faudio_unit.cc;h=73fd6bf94baca9cc67cb553911f8ab24bc094edc;hb=d53af10c9261172c57dbc66b6b4d1143b37bbcae;hp=b6beacad848c4ab8c3bfe3ee2580d01d61ca55a9;hpb=9bf40bde3aed831791108bfccc4b1e10b071afdc;p=ardour.git diff --git a/libs/ardour/audio_unit.cc b/libs/ardour/audio_unit.cc index b6beacad84..73fd6bf94b 100644 --- a/libs/ardour/audio_unit.cc +++ b/libs/ardour/audio_unit.cc @@ -487,6 +487,7 @@ AUPlugin::AUPlugin (const AUPlugin& other) , input_buffers (0) , input_map (0) , samples_processed (0) + , audio_input_cnt (0) , _parameter_listener (0) , _parameter_listener_arg (0) , transport_sample (0) @@ -1638,7 +1639,7 @@ AUPlugin::render_callback(AudioUnitRenderActionFlags*, int AUPlugin::connect_and_run (BufferSet& bufs, samplepos_t start, samplepos_t end, double speed, - ChanMapping in_map, ChanMapping out_map, + ChanMapping const& in_map, ChanMapping const& out_map, pframes_t nframes, samplecnt_t offset) { Plugin::connect_and_run(bufs, start, end, speed, in_map, out_map, nframes, offset); @@ -2278,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; } //----------------------------------------------------------------------------- @@ -2555,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)); @@ -3478,7 +3479,7 @@ AUPlugin::parameter_change_listener (void* /*arg*/, void* src, const AudioUnitEv /* whenever we change a parameter, we request that we are NOT notified of the change, so anytime we arrive here, it means that something else (i.e. the plugin GUI) made the change. */ - ParameterChangedExternally (i->second, new_value); + Plugin::parameter_changed_externally (i->second, new_value); break; default: break;