remove PostTransportWorkCurveReallocate (no longer used)

This commit is contained in:
Paul Davis 2019-02-22 14:52:08 -07:00
parent 11ef82954e
commit 63fdfd9e85
6 changed files with 1 additions and 25 deletions

View file

@ -601,7 +601,6 @@ protected:
void catch_up_on_solo_mute_override ();
void set_listen (bool);
void curve_reallocate ();
virtual void set_block_size (pframes_t nframes);
virtual int no_roll_unlocked (pframes_t nframes, samplepos_t start_sample, samplepos_t end_sample, bool session_state_changing);

View file

@ -1109,7 +1109,7 @@ public:
PostTransportAudition = 0x80,
PostTransportReverse = 0x100,
/* PostTransportInputChange = 0x200, */
PostTransportCurveRealloc = 0x400,
/*PostTransportCurveRealloc = 0x400, */
PostTransportClearSubstate = 0x800,
PostTransportAdjustPlaybackBuffering = 0x1000,
PostTransportAdjustCaptureBuffering = 0x2000
@ -1214,7 +1214,6 @@ protected:
#endif
friend class Route;
void schedule_curve_reallocation ();
void update_latency_compensation (bool force = false);
private:
@ -1414,7 +1413,6 @@ private:
static const PostTransportWork ProcessCannotProceedMask =
PostTransportWork (
PostTransportReverse|
PostTransportCurveRealloc|
PostTransportAudition|
PostTransportStop|
PostTransportClearSubstate);

View file

@ -461,7 +461,6 @@ setup_enum_writer ()
REGISTER_CLASS_ENUM (Session, PostTransportOverWrite);
REGISTER_CLASS_ENUM (Session, PostTransportAudition);
REGISTER_CLASS_ENUM (Session, PostTransportReverse);
REGISTER_CLASS_ENUM (Session, PostTransportCurveRealloc);
REGISTER_CLASS_ENUM (Session, PostTransportClearSubstate);
REGISTER_BITS (_Session_PostTransportWork);

View file

@ -3070,13 +3070,6 @@ Route::set_processor_state (XMLNode const & node, XMLProperty const* prop, Proce
return true;
}
void
Route::curve_reallocate ()
{
// _gain_automation_curve.finish_resize ();
// _pan_automation_curve.finish_resize ();
}
void
Route::silence (samplecnt_t nframes)
{

View file

@ -68,13 +68,6 @@ Session::schedule_capture_buffering_adjustment ()
_butler->schedule_transport_work ();
}
void
Session::schedule_curve_reallocation ()
{
add_post_transport_work (PostTransportCurveRealloc);
_butler->schedule_transport_work ();
}
void
Session::request_overwrite_buffer (boost::shared_ptr<Route> r)
{

View file

@ -503,12 +503,6 @@ Session::butler_transport_work ()
}
}
if (ptw & PostTransportCurveRealloc) {
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
(*i)->curve_reallocate();
}
}
if (ptw & PostTransportReverse) {
clear_clicks();