projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AU: mark preset dirty when parameter changes
[ardour.git]
/
libs
/
ardour
/
audio_unit.cc
diff --git
a/libs/ardour/audio_unit.cc
b/libs/ardour/audio_unit.cc
index b6beacad848c4ab8c3bfe3ee2580d01d61ca55a9..73fd6bf94baca9cc67cb553911f8ab24bc094edc 100644
(file)
--- 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)
, input_buffers (0)
, input_map (0)
, samples_processed (0)
+ , audio_input_cnt (0)
, _parameter_listener (0)
, _parameter_listener_arg (0)
, transport_sample (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,
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);
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));
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)) {
*/
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));
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.
*/
/* 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.
*/
- P
arameterChangedE
xternally (i->second, new_value);
+ P
lugin::parameter_changed_e
xternally (i->second, new_value);
break;
default:
break;
break;
default:
break;