Add support for VST effSetBypass #7266
[ardour.git] / libs / ardour / ardour / diskstream.h
index fb9be653e18fc6ae3b88d33db0aaa76ad248e97d..404aceec5e9075e78df1d3bdbf71974d8ca12926 100644 (file)
@@ -29,7 +29,7 @@
 
 #include <boost/utility.hpp>
 
-#include "evoral/types.hpp"
+#include "evoral/Range.hpp"
 
 #include "ardour/ardour.h"
 #include "ardour/chan_count.h"
@@ -109,13 +109,15 @@ class LIBARDOUR_API Diskstream : public SessionObject, public PublicDiskstream
        virtual void set_record_safe (bool yn) = 0;
 
        bool destructive() const { return _flags & Destructive; }
+#ifdef XXX_OLD_DESTRUCTIVE_API_XXX
        virtual int set_destructive (bool /*yn*/) { return -1; }
        virtual int set_non_layered (bool /*yn*/) { return -1; }
        virtual bool can_become_destructive (bool& /*requires_bounce*/) const { return false; }
+#endif
 
        bool           hidden()      const { return _flags & Hidden; }
        bool           recordable()  const { return _flags & Recordable; }
-       bool           non_layered()  const { return _flags & NonLayered; }
+       bool           non_layered() const;  // { return _flags & NonLayered; }
        bool           reversed()    const { return _actual_speed < 0.0f; }
        double         speed()       const { return _visible_speed; }