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 catch_up_on_solo_mute_override ();
void set_listen (bool); void set_listen (bool);
void curve_reallocate ();
virtual void set_block_size (pframes_t nframes); 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); 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, PostTransportAudition = 0x80,
PostTransportReverse = 0x100, PostTransportReverse = 0x100,
/* PostTransportInputChange = 0x200, */ /* PostTransportInputChange = 0x200, */
PostTransportCurveRealloc = 0x400, /*PostTransportCurveRealloc = 0x400, */
PostTransportClearSubstate = 0x800, PostTransportClearSubstate = 0x800,
PostTransportAdjustPlaybackBuffering = 0x1000, PostTransportAdjustPlaybackBuffering = 0x1000,
PostTransportAdjustCaptureBuffering = 0x2000 PostTransportAdjustCaptureBuffering = 0x2000
@ -1214,7 +1214,6 @@ protected:
#endif #endif
friend class Route; friend class Route;
void schedule_curve_reallocation ();
void update_latency_compensation (bool force = false); void update_latency_compensation (bool force = false);
private: private:
@ -1414,7 +1413,6 @@ private:
static const PostTransportWork ProcessCannotProceedMask = static const PostTransportWork ProcessCannotProceedMask =
PostTransportWork ( PostTransportWork (
PostTransportReverse| PostTransportReverse|
PostTransportCurveRealloc|
PostTransportAudition| PostTransportAudition|
PostTransportStop| PostTransportStop|
PostTransportClearSubstate); PostTransportClearSubstate);

View file

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

View file

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

View file

@ -68,13 +68,6 @@ Session::schedule_capture_buffering_adjustment ()
_butler->schedule_transport_work (); _butler->schedule_transport_work ();
} }
void
Session::schedule_curve_reallocation ()
{
add_post_transport_work (PostTransportCurveRealloc);
_butler->schedule_transport_work ();
}
void void
Session::request_overwrite_buffer (boost::shared_ptr<Route> r) 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) { if (ptw & PostTransportReverse) {
clear_clicks(); clear_clicks();