summaryrefslogtreecommitdiff
path: root/muse2/muse/track.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/track.cpp')
-rw-r--r--muse2/muse/track.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/muse2/muse/track.cpp b/muse2/muse/track.cpp
index bf1b5a7a..0fa419c6 100644
--- a/muse2/muse/track.cpp
+++ b/muse2/muse/track.cpp
@@ -389,6 +389,7 @@ void Track::clearRecAutomation(bool clearList)
if(type() == AUDIO_SOFTSYNTH)
{
+#ifdef DSSI_SUPPORT
SynthI* synth = static_cast<SynthI*>(this);
if(synth->synth() && synth->synth()->synthType() == Synth::DSSI_SYNTH)
{
@@ -399,6 +400,7 @@ void Track::clearRecAutomation(bool clearList)
dssi_sif->enableAllControllers(true);
}
}
+#endif
}
if(clearList)