Remove unused API (Input Metering)
Input metering is now handled by Track::prep_record_enabled() explicitly setting meter positions.
This commit is contained in:
parent
d557fa5e33
commit
0f95bf001d
|
@ -141,8 +141,6 @@ public:
|
|||
MonitorState monitoring_state () const;
|
||||
virtual MonitorState get_auto_monitoring_state () const { return MonitoringSilence; }
|
||||
|
||||
virtual MeterState metering_state () const;
|
||||
|
||||
/* these are the core of the API of a Route. see the protected sections as well */
|
||||
|
||||
virtual void filter_input (BufferSet &) {}
|
||||
|
|
|
@ -64,8 +64,6 @@ public:
|
|||
|
||||
TrackMode mode () const { return _mode; }
|
||||
|
||||
MeterState metering_state () const;
|
||||
|
||||
bool set_processor_state (XMLNode const& node, int version, XMLProperty const* prop, ProcessorList& new_order, bool& must_configure);
|
||||
|
||||
bool declick_in_progress () const;
|
||||
|
|
|
@ -469,11 +469,6 @@ enum MonitorState {
|
|||
MonitoringCue = 0x6,
|
||||
};
|
||||
|
||||
enum MeterState {
|
||||
MeteringInput, ///< meter the input IO, regardless of what is going through the route
|
||||
MeteringRoute ///< meter what is going through the route
|
||||
};
|
||||
|
||||
enum VUMeterStandard {
|
||||
MeteringVUfrench, ///< 0VU = -2dBu
|
||||
MeteringVUamerican, ///< 0VU = 0dBu
|
||||
|
|
|
@ -5249,15 +5249,6 @@ Route::processor_by_id (PBD::ID id) const
|
|||
return boost::shared_ptr<Processor> ();
|
||||
}
|
||||
|
||||
/** @return what we should be metering; either the data coming from the input
|
||||
* IO or the data that is flowing through the route.
|
||||
*/
|
||||
MeterState
|
||||
Route::metering_state () const
|
||||
{
|
||||
return MeteringRoute;
|
||||
}
|
||||
|
||||
bool
|
||||
Route::can_freeze_processor (boost::shared_ptr<Processor> p, bool allow_routing) const
|
||||
{
|
||||
|
|
|
@ -827,20 +827,6 @@ Track::monitoring_changed (bool, Controllable::GroupControlDisposition)
|
|||
}
|
||||
}
|
||||
|
||||
MeterState
|
||||
Track::metering_state () const
|
||||
{
|
||||
bool rv;
|
||||
if (_session.transport_rolling ()) {
|
||||
// audio_track.cc || midi_track.cc roll() runs meter IFF:
|
||||
rv = _meter_point == MeterInput && ((_monitoring_control->monitoring_choice() & MonitorInput) || _disk_writer->record_enabled());
|
||||
} else {
|
||||
// track no_roll() always metering if
|
||||
rv = _meter_point == MeterInput;
|
||||
}
|
||||
return rv ? MeteringInput : MeteringRoute;
|
||||
}
|
||||
|
||||
bool
|
||||
Track::set_processor_state (XMLNode const& node, int version, XMLProperty const* prop, ProcessorList& new_order, bool& must_configure)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue