13
0

remove InputConfigurationChange from session events, since it is a no-op in this development branch

This commit is contained in:
Paul Davis 2017-06-27 15:32:30 -04:00
parent 274726084d
commit cb0d9f5607
5 changed files with 0 additions and 22 deletions

View File

@ -432,7 +432,6 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop
void request_overwrite_buffer (boost::shared_ptr<Route>);
void adjust_playback_buffering();
void adjust_capture_buffering();
void request_input_change_handling ();
bool locate_pending() const { return static_cast<bool>(post_transport_work()&PostTransportLocate); }
bool declick_out_pending() const { return static_cast<bool>(transport_sub_state&(PendingDeclickOut)); }

View File

@ -52,7 +52,6 @@ public:
Overwrite,
SetSyncSource,
Audition,
InputConfigurationChange,
SetPlayAudioRange,
CancelPlayAudioRange,
RealTimeOperation,

View File

@ -5721,12 +5721,6 @@ Session::graph_reordered ()
return;
}
/* every track/bus asked for this to be handled but it was deferred because
we were connecting. do it now.
*/
request_input_change_handling ();
resort_routes ();
/* force all diskstreams to update their capture offset values to

View File

@ -1242,11 +1242,6 @@ Session::process_event (SessionEvent* ev)
ev->region.reset ();
break;
case SessionEvent::InputConfigurationChange:
add_post_transport_work (PostTransportInputChange);
_butler->schedule_transport_work ();
break;
case SessionEvent::SetPlayAudioRange:
set_play_range (ev->audio_range, (ev->speed == 1.0f));
break;

View File

@ -76,15 +76,6 @@ Session::add_post_transport_work (PostTransportWork ptw)
error << "Could not set post transport work! Crazy thread madness, call the programmers" << endmsg;
}
void
Session::request_input_change_handling ()
{
if (!(_state_of_the_state & (InitialConnecting|Deletion))) {
SessionEvent* ev = new SessionEvent (SessionEvent::InputConfigurationChange, SessionEvent::Add, SessionEvent::Immediate, 0, 0.0);
queue_event (ev);
}
}
void
Session::request_sync_source (Slave* new_slave)
{