Optimize automation-event process splitting
[ardour.git] / libs / ardour / ardour / types_convert.h
index cee969dd007eb90e4b0d1ac07bab600d5a139183..8c3c87a6517f700f1d492f12adc4c62406b89003 100644 (file)
@@ -50,6 +50,7 @@ DEFINE_ENUM_CONVERT(ARDOUR::InsertMergePolicy)
 DEFINE_ENUM_CONVERT(ARDOUR::SyncSource)
 DEFINE_ENUM_CONVERT(ARDOUR::ShuttleBehaviour)
 DEFINE_ENUM_CONVERT(ARDOUR::ShuttleUnits)
+DEFINE_ENUM_CONVERT(ARDOUR::ClockDeltaMode)
 DEFINE_ENUM_CONVERT(ARDOUR::DenormalModel)
 DEFINE_ENUM_CONVERT(ARDOUR::PositionLockStyle)
 DEFINE_ENUM_CONVERT(ARDOUR::FadeShape)
@@ -58,19 +59,20 @@ DEFINE_ENUM_CONVERT(ARDOUR::BufferingPreset)
 DEFINE_ENUM_CONVERT(ARDOUR::AutoReturnTarget)
 DEFINE_ENUM_CONVERT(ARDOUR::MeterType)
 DEFINE_ENUM_CONVERT(ARDOUR::MeterPoint)
+DEFINE_ENUM_CONVERT(ARDOUR::DiskIOPoint)
 DEFINE_ENUM_CONVERT(ARDOUR::NoteMode)
 DEFINE_ENUM_CONVERT(ARDOUR::ChannelMode)
 DEFINE_ENUM_CONVERT(ARDOUR::MonitorChoice)
-
+DEFINE_ENUM_CONVERT(ARDOUR::PluginType)
 DEFINE_ENUM_CONVERT(ARDOUR::AlignStyle)
 DEFINE_ENUM_CONVERT(ARDOUR::AlignChoice)
-
+DEFINE_ENUM_CONVERT(ARDOUR::RegionEquivalence)
 DEFINE_ENUM_CONVERT(ARDOUR::WaveformScale)
 DEFINE_ENUM_CONVERT(ARDOUR::WaveformShape)
 DEFINE_ENUM_CONVERT(ARDOUR::VUMeterStandard)
 DEFINE_ENUM_CONVERT(ARDOUR::MeterLineUp)
-
 DEFINE_ENUM_CONVERT(ARDOUR::MidiPortFlags)
+DEFINE_ENUM_CONVERT(ARDOUR::TransportRequestType)
 
 DEFINE_ENUM_CONVERT(MusicalMode::Type)
 
@@ -88,20 +90,6 @@ inline bool string_to (const std::string& str, ARDOUR::AutoState& as)
        return true;
 }
 
-template <>
-inline bool to_string (ARDOUR::AutoStyle val, std::string& str)
-{
-       str = ARDOUR::auto_style_to_string (val);
-       return true;
-}
-
-template <>
-inline bool string_to (const std::string& str, ARDOUR::AutoStyle& as)
-{
-       as = ARDOUR::string_to_auto_style (str);
-       return true;
-}
-
 template <>
 inline bool to_string (ARDOUR::DataType val, std::string& str)
 {