X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fquantize.h;h=e56927767eda121cbeea18341dee8b1ceb5d3763;hb=5bc4e54b7da3eb139d699c6e371d43540c69b519;hp=b02335811cced45d74f1dbc311b6af012bdc8f18;hpb=bb9cc45cd22af67ac275a5e73accbe14fee664d8;p=ardour.git diff --git a/libs/ardour/ardour/quantize.h b/libs/ardour/ardour/quantize.h index b02335811c..e56927767e 100644 --- a/libs/ardour/ardour/quantize.h +++ b/libs/ardour/ardour/quantize.h @@ -1,6 +1,6 @@ /* Copyright (C) 2007-2009 Paul Davis - Author: Dave Robillard + Author: David Robillard This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,13 +30,14 @@ class Session; class Quantize : public MidiOperator { public: - Quantize (ARDOUR::Session&, QuantizeType type, - bool snap_start, bool snap_end, + Quantize (ARDOUR::Session&, bool snap_start, bool snap_end, double start_grid, double end_grid, float strength, float swing, float threshold); ~Quantize (); - Command* operator() (boost::shared_ptr, std::vector::Notes>&); + Command* operator() (boost::shared_ptr, + double position, + std::vector::Notes>&); std::string name() const { return std::string ("quantize"); } private: