diff options
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/audio_diskstream.h | 2 | ||||
-rw-r--r-- | libs/ardour/ardour/audio_track.h | 2 | ||||
-rw-r--r-- | libs/ardour/ardour/diskstream.h | 2 | ||||
-rw-r--r-- | libs/ardour/ardour/graph.h | 6 | ||||
-rw-r--r-- | libs/ardour/ardour/midi_diskstream.h | 2 | ||||
-rw-r--r-- | libs/ardour/ardour/midi_track.h | 6 | ||||
-rw-r--r-- | libs/ardour/ardour/route.h | 6 | ||||
-rw-r--r-- | libs/ardour/ardour/track.h | 9 | ||||
-rw-r--r-- | libs/ardour/ardour/types.h | 6 |
9 files changed, 23 insertions, 18 deletions
diff --git a/libs/ardour/ardour/audio_diskstream.h b/libs/ardour/ardour/audio_diskstream.h index f233e21112..94c843971b 100644 --- a/libs/ardour/ardour/audio_diskstream.h +++ b/libs/ardour/ardour/audio_diskstream.h @@ -171,7 +171,7 @@ class AudioDiskstream : public Diskstream protected: friend class AudioTrack; - int process (framepos_t transport_frame, pframes_t nframes, bool can_record, bool& need_butler); + int process (framepos_t transport_frame, pframes_t nframes, bool& need_butler); bool commit (framecnt_t nframes); private: diff --git a/libs/ardour/ardour/audio_track.h b/libs/ardour/ardour/audio_track.h index 445558ccdd..c39c7f5640 100644 --- a/libs/ardour/ardour/audio_track.h +++ b/libs/ardour/ardour/audio_track.h @@ -40,7 +40,7 @@ class AudioTrack : public Track bool can_use_mode (TrackMode m, bool& bounce_required); int roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, - int declick, bool can_record, bool& need_butler); + int declick, bool& need_butler); void use_new_diskstream (); void set_diskstream (boost::shared_ptr<Diskstream>); diff --git a/libs/ardour/ardour/diskstream.h b/libs/ardour/ardour/diskstream.h index dad9501c8e..975c8d45da 100644 --- a/libs/ardour/ardour/diskstream.h +++ b/libs/ardour/ardour/diskstream.h @@ -185,7 +185,7 @@ class Diskstream : public SessionObject, public PublicDiskstream protected: friend class Track; - virtual int process (framepos_t transport_frame, pframes_t nframes, bool can_record, bool& need_butler) = 0; + virtual int process (framepos_t transport_frame, pframes_t nframes, bool& need_butler) = 0; virtual bool commit (framecnt_t nframes) = 0; //private: diff --git a/libs/ardour/ardour/graph.h b/libs/ardour/ardour/graph.h index 0279fe8fd9..0fa5b2f6c8 100644 --- a/libs/ardour/ardour/graph.h +++ b/libs/ardour/ardour/graph.h @@ -74,13 +74,13 @@ public: void main_thread(); int silent_process_routes (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, - bool can_record, bool& need_butler); + bool& need_butler); int process_routes (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, int declick, - bool can_record, bool& need_butler); + bool& need_butler); int routes_no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, - bool non_rt_pending, bool can_record, int declick); + bool non_rt_pending, int declick); void process_one_route (Route * route); diff --git a/libs/ardour/ardour/midi_diskstream.h b/libs/ardour/ardour/midi_diskstream.h index d10640b51b..0454b55e01 100644 --- a/libs/ardour/ardour/midi_diskstream.h +++ b/libs/ardour/ardour/midi_diskstream.h @@ -142,7 +142,7 @@ class MidiDiskstream : public Diskstream protected: friend class MidiTrack; - int process (framepos_t transport_frame, pframes_t nframes, bool can_record, bool& need_butler); + int process (framepos_t transport_frame, pframes_t nframes, bool& need_butler); bool commit (framecnt_t nframes); static framecnt_t midi_readahead; diff --git a/libs/ardour/ardour/midi_track.h b/libs/ardour/ardour/midi_track.h index 407a317433..a2cc2e7d9d 100644 --- a/libs/ardour/ardour/midi_track.h +++ b/libs/ardour/ardour/midi_track.h @@ -41,8 +41,7 @@ public: int init (); - int roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, - int declick, bool can_record, bool& need_butler); + int roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, int declick, bool& need_butler); void realtime_handle_transport_stopped (); void realtime_locate (); @@ -133,8 +132,7 @@ protected: bool _midi_thru; bool _input_active; - int no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, - bool state_changing, bool can_record); + int no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, bool state_changing); void push_midi_input_to_step_edit_ringbuffer (framecnt_t nframes); void diskstream_data_recorded (boost::shared_ptr<MidiBuffer>, boost::weak_ptr<MidiSource>); diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h index 91b95d33e7..e6e6a7e087 100644 --- a/libs/ardour/ardour/route.h +++ b/libs/ardour/ardour/route.h @@ -109,13 +109,13 @@ class Route : public SessionObject, public Automatable, public RouteGroupMember, /* these are the core of the API of a Route. see the protected sections as well */ virtual int roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, - int declick, bool can_record, bool& need_butler); + int declick, bool& need_butler); virtual int no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, - bool state_changing, bool can_record); + bool state_changing); virtual int silent_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, - bool can_record, bool& need_butler); + bool& need_butler); virtual void toggle_monitor_input (); virtual bool can_record() { return false; } diff --git a/libs/ardour/ardour/track.h b/libs/ardour/ardour/track.h index b467ffb316..01b084641d 100644 --- a/libs/ardour/ardour/track.h +++ b/libs/ardour/ardour/track.h @@ -49,17 +49,18 @@ class Track : public Route, public PublicDiskstream PBD::Signal0<void> TrackModeChanged; virtual void set_monitoring (MonitorChoice); - MonitorChoice monitoring() const { return _monitoring; } + MonitorChoice monitoring_choice() const { return _monitoring; } + MonitorState monitoring_state(); PBD::Signal0<void> MonitoringChanged; virtual int no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, - bool state_changing, bool can_record); + bool state_changing); int silent_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, - bool can_record, bool& need_butler); + bool& need_butler); virtual int roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, - int declick, bool can_record, bool& need_butler) = 0; + int declick, bool& need_butler) = 0; bool needs_butler() const { return _needs_butler; } void toggle_monitor_input (); diff --git a/libs/ardour/ardour/types.h b/libs/ardour/ardour/types.h index e2daf1a76c..417a9ed54d 100644 --- a/libs/ardour/ardour/types.h +++ b/libs/ardour/ardour/types.h @@ -365,6 +365,12 @@ namespace ARDOUR { MonitorCue = 0x4, }; + enum MonitorState { + MonitoringSilence = 0x1, + MonitoringInput = 0x2, + MonitoringDisk = 0x4, + }; + enum PFLPosition { /** PFL signals come from before pre-fader processors */ PFLFromBeforeProcessors, |