summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-05-01 16:19:50 +0000
committerCarl Hetherington <carl@carlh.net>2012-05-01 16:19:50 +0000
commit77be4a2742b593e74e6b0ca79a6aa990bacf3233 (patch)
tree0612b872bce0e54e2faf845e74d6b8e287464251 /libs/ardour
parenta47ec8ba590d1fe663a64a50b02b1f6b61fd5743 (diff)
Remove unused quantize type options.
git-svn-id: svn://localhost/ardour2/branches/3.0@12130 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/ardour/quantize.h3
-rw-r--r--libs/ardour/ardour/types.h6
-rw-r--r--libs/ardour/enums.cc6
-rw-r--r--libs/ardour/quantize.cc3
4 files changed, 2 insertions, 16 deletions
diff --git a/libs/ardour/ardour/quantize.h b/libs/ardour/ardour/quantize.h
index e1ca2b2395..e56927767e 100644
--- a/libs/ardour/ardour/quantize.h
+++ b/libs/ardour/ardour/quantize.h
@@ -30,8 +30,7 @@ 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 ();
diff --git a/libs/ardour/ardour/types.h b/libs/ardour/ardour/types.h
index 71c00e7520..127c840840 100644
--- a/libs/ardour/ardour/types.h
+++ b/libs/ardour/ardour/types.h
@@ -510,12 +510,6 @@ namespace ARDOUR {
Rectified
};
- enum QuantizeType {
- Plain,
- Legato,
- Groove
- };
-
struct CleanupReport {
std::vector<std::string> paths;
size_t space;
diff --git a/libs/ardour/enums.cc b/libs/ardour/enums.cc
index eea971e197..54c6214ee5 100644
--- a/libs/ardour/enums.cc
+++ b/libs/ardour/enums.cc
@@ -122,7 +122,6 @@ setup_enum_writer ()
MidiModel::PatchChangeDiffCommand::Property _MidiModel_PatchChangeDiffCommand_Property;
WaveformScale _WaveformScale;
WaveformShape _WaveformShape;
- QuantizeType _QuantizeType;
Session::PostTransportWork _Session_PostTransportWork;
Session::SlaveState _Session_SlaveState;
MTC_Status _MIDI_MTC_Status;
@@ -577,11 +576,6 @@ setup_enum_writer ()
REGISTER_ENUM(Rectified);
REGISTER(_WaveformShape);
- REGISTER_ENUM(Plain);
- REGISTER_ENUM(Legato);
- REGISTER_ENUM(Groove);
- REGISTER(_QuantizeType);
-
REGISTER_ENUM(AudioTime);
REGISTER_ENUM(MusicTime);
REGISTER(_PositionLockStyle);
diff --git a/libs/ardour/quantize.cc b/libs/ardour/quantize.cc
index 7ede60b578..563b7bf4e7 100644
--- a/libs/ardour/quantize.cc
+++ b/libs/ardour/quantize.cc
@@ -40,8 +40,7 @@ using namespace ARDOUR;
* 0.25 = quantize to beats/4, etc.
*/
-Quantize::Quantize (Session& s, QuantizeType /* type */,
- bool snap_start, bool snap_end,
+Quantize::Quantize (Session& s, bool snap_start, bool snap_end,
double start_grid, double end_grid,
float strength, float swing, float threshold)
: session (s)