X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fquantize.h;h=639736b174668c97c0c2fae6daa84e7ad29dbcf4;hb=faefc3ba9a42417b133235e0a9efeaba467aad5f;hp=c41d172177e3b3e7ebaaf99c30ca872d50a15250;hpb=37b1f5017e904005fae6b815b1519b3fa595d8d3;p=ardour.git diff --git a/libs/ardour/ardour/quantize.h b/libs/ardour/ardour/quantize.h index c41d172177..639736b174 100644 --- a/libs/ardour/ardour/quantize.h +++ b/libs/ardour/ardour/quantize.h @@ -27,22 +27,19 @@ namespace ARDOUR { -class Session; - class LIBARDOUR_API Quantize : public MidiOperator { public: - Quantize (ARDOUR::Session&, bool snap_start, bool snap_end, + Quantize (bool snap_start, bool snap_end, double start_grid, double end_grid, float strength, float swing, float threshold); ~Quantize (); Command* operator() (boost::shared_ptr, - double position, - std::vector::Notes>&); + Evoral::Beats position, + std::vector::Notes>&); std::string name() const { return std::string ("quantize"); } private: - ARDOUR::Session& session; bool _snap_start; bool _snap_end; double _start_grid;