diff options
Diffstat (limited to 'libs/evoral/src')
-rw-r--r-- | libs/evoral/src/Control.cpp | 2 | ||||
-rw-r--r-- | libs/evoral/src/Curve.cpp | 22 | ||||
-rw-r--r-- | libs/evoral/src/Note.cpp | 18 |
3 files changed, 0 insertions, 42 deletions
diff --git a/libs/evoral/src/Control.cpp b/libs/evoral/src/Control.cpp index a6cd374c54..56f5f70f2c 100644 --- a/libs/evoral/src/Control.cpp +++ b/libs/evoral/src/Control.cpp @@ -18,8 +18,6 @@ #include <iostream> -#include "pbd/stacktrace.h" - #include "evoral/Control.hpp" #include "evoral/ControlList.hpp" #include "evoral/ParameterDescriptor.hpp" diff --git a/libs/evoral/src/Curve.cpp b/libs/evoral/src/Curve.cpp index 8a4aa470c1..a8605c6f1d 100644 --- a/libs/evoral/src/Curve.cpp +++ b/libs/evoral/src/Curve.cpp @@ -329,18 +329,6 @@ Curve::_get_vector (double x0, double x1, float *vec, int32_t veclen) } double -Curve::unlocked_eval (double x) -{ - // I don't see the point of this... - - if (_dirty) { - solve (); - } - - return _list.unlocked_eval (x); -} - -double Curve::multipoint_eval (double x) { pair<ControlList::EventList::const_iterator,ControlList::EventList::const_iterator> range; @@ -416,13 +404,3 @@ Curve::multipoint_eval (double x) } } // namespace Evoral - -extern "C" { - -void -curve_get_vector_from_c (void *arg, double x0, double x1, float* vec, int32_t vecsize) -{ - static_cast<Evoral::Curve*>(arg)->get_vector (x0, x1, vec, vecsize); -} - -} diff --git a/libs/evoral/src/Note.cpp b/libs/evoral/src/Note.cpp index 52a4d6335b..f2d369d825 100644 --- a/libs/evoral/src/Note.cpp +++ b/libs/evoral/src/Note.cpp @@ -92,24 +92,6 @@ Note<Time>::set_id (event_id_t id) _off_event.set_id (id); } -template<typename Time> -const Note<Time>& -Note<Time>::operator=(const Note<Time>& other) -{ - _on_event = other._on_event; - _off_event = other._off_event; - - assert(time() == other.time()); - assert(end_time() == other.end_time()); - assert(length() == other.length()); - assert(note() == other.note()); - assert(velocity() == other.velocity()); - assert(_on_event.channel() == _off_event.channel()); - assert(channel() == other.channel()); - - return *this; -} - template class Note<Evoral::Beats>; } // namespace Evoral |