Ardour
9.0-pre0-582-g084a23a80d
|
#include <transport_master.h>
Public Member Functions | |
MTC_TransportMaster (std::string const &) | |
~MTC_TransportMaster () | |
void | set_session (Session *) |
void | pre_process (pframes_t nframes, samplepos_t now, std::optional< samplepos_t >) |
void | unregister_port () |
void | reset (bool with_pos) |
bool | locked () const |
bool | ok () const |
void | handle_locate (const MIDI::byte *) |
samplecnt_t | update_interval () const |
samplecnt_t | resolution () const |
bool | requires_seekahead () const |
samplecnt_t | seekahead_distance () const |
void | init () |
Timecode::TimecodeFormat | apparent_timecode_format () const |
std::string | position_string () const |
std::string | delta_string () const |
void | create_port () |
Public Member Functions inherited from ARDOUR::TimecodeTransportMaster | |
TimecodeTransportMaster (std::string const &name, SyncSource type) | |
bool | apparent_timecode_format_valid () const |
bool | fr2997 () const |
void | set_fr2997 (bool) |
Public Member Functions inherited from ARDOUR::TransportMaster | |
TransportMaster (SyncSource t, std::string const &name) | |
virtual | ~TransportMaster () |
virtual bool | speed_and_position (double &speed, samplepos_t &position, samplepos_t &lp, samplepos_t &when, samplepos_t now) |
virtual bool | usable () const |
virtual bool | starting () const |
virtual bool | sample_clock_synced () const |
virtual void | set_sample_clock_synced (bool) |
sampleoffset_t | current_delta () const |
virtual bool | can_loop () const |
virtual Location * | loop_location () const |
bool | has_loop () const |
SyncSource | type () const |
TransportRequestSource | request_type () const |
std::string | name () const |
void | set_name (std::string const &) |
int | set_state (XMLNode const &, int) |
XMLNode & | get_state () const |
std::shared_ptr< Port > | port () const |
bool | check_collect () |
virtual void | set_collect (bool) |
bool | collect () const |
virtual void | check_backend () |
virtual bool | allow_request (TransportRequestSource, TransportRequestType) const |
std::string | allowed_request_string () const |
TransportRequestType | request_mask () const |
void | set_request_mask (TransportRequestType) |
bool | removeable () const |
void | set_removeable (bool yn) |
std::string | display_name (bool sh=true) const |
void | connect_port_using_state () |
Public Member Functions inherited from PBD::Stateful | |
Stateful () | |
virtual | ~Stateful () |
virtual bool | apply_change (PropertyBase const &) |
PropertyChange | apply_changes (PropertyList const &) |
const OwnedPropertyList & | properties () const |
void | add_property (PropertyBase &s) |
void | add_extra_xml (XMLNode &) |
XMLNode * | extra_xml (const std::string &str, bool add_if_missing=false) |
void | save_extra_xml (const XMLNode &) |
const PBD::ID & | id () const |
bool | set_id (const XMLNode &) |
void | set_id (const std::string &) |
void | reset_id () |
void | clear_changes () |
virtual void | clear_owned_changes () |
PropertyList * | get_changes_as_properties (PBD::Command *) const |
virtual void | rdiff (std::vector< PBD::Command * > &) const |
bool | changed () const |
virtual PropertyList * | property_factory (const XMLNode &) const |
virtual void | suspend_property_changes () |
virtual void | resume_property_changes () |
bool | property_changes_suspended () const |
Public Member Functions inherited from ARDOUR::TransportMasterViaMIDI | |
virtual | ~TransportMasterViaMIDI () |
MIDI::Parser & | transport_parser () |
std::shared_ptr< MidiPort > | midi_port () const |
std::shared_ptr< Port > | create_midi_port (std::string const &port_name) |
Private Member Functions | |
void | queue_reset (bool with_pos) |
void | maybe_reset () |
void | update_mtc_qtr (MIDI::Parser &, int, samplepos_t) |
void | update_mtc_time (const MIDI::byte *, bool, samplepos_t) |
void | update_mtc_status (MIDI::MTC_Status) |
void | reset_window (samplepos_t) |
bool | outside_window (samplepos_t) const |
void | init_mtc_dll (samplepos_t, double) |
void | parse_timecode_offset () |
void | parameter_changed (std::string const &p) |
void | connection_handler (std::weak_ptr< ARDOUR::Port >, std::string, std::weak_ptr< ARDOUR::Port >, std::string, bool) |
Private Attributes | |
PBD::ScopedConnectionList | port_connections |
bool | can_notify_on_unknown_rate |
samplepos_t | mtc_frame |
double | mtc_frame_dll |
samplepos_t | last_inbound_frame |
MIDI::byte | last_mtc_fps_byte |
samplepos_t | window_begin |
samplepos_t | window_end |
samplepos_t | first_mtc_timestamp |
Glib::Threads::Mutex | reset_lock |
uint32_t | reset_pending |
bool | reset_position |
int | transport_direction |
int | busy_guard1 |
int | busy_guard2 |
double | quarter_frame_duration |
Timecode::TimecodeFormat | mtc_timecode |
Timecode::Time | timecode |
Static Private Attributes | |
static const int | sample_tolerance |
Definition at line 508 of file transport_master.h.
ARDOUR::MTC_TransportMaster::MTC_TransportMaster | ( | std::string const & | ) |
ARDOUR::MTC_TransportMaster::~MTC_TransportMaster | ( | ) |
|
virtual |
Implements ARDOUR::TimecodeTransportMaster.
|
privatevirtual |
Reimplemented from ARDOUR::TransportMaster.
|
virtual |
Implements ARDOUR::TransportMaster.
|
virtual |
Reimplemented from ARDOUR::TransportMaster.
void ARDOUR::MTC_TransportMaster::handle_locate | ( | const MIDI::byte * | ) |
|
virtual |
Implements ARDOUR::TransportMaster.
|
private |
|
virtual |
reports to ARDOUR whether the TransportMaster is currently synced to its external time source.
Implements ARDOUR::TransportMaster.
|
private |
|
virtual |
reports to ARDOUR whether the slave is in a sane state
Implements ARDOUR::TransportMaster.
|
private |
|
privatevirtual |
Reimplemented from ARDOUR::TransportMasterViaMIDI.
|
private |
|
virtual |
Implements ARDOUR::TransportMaster.
|
virtual |
Implements ARDOUR::TransportMaster.
|
private |
|
inlinevirtual |
Implements ARDOUR::TransportMaster.
Definition at line 527 of file transport_master.h.
|
virtual |
Implements ARDOUR::TransportMaster.
|
private |
|
virtual |
Implements ARDOUR::TransportMaster.
|
virtual |
Reimplemented from ARDOUR::TransportMaster.
|
virtual |
Reimplemented from ARDOUR::TransportMasterViaMIDI.
|
virtual |
Reimplemented from ARDOUR::TransportMaster.
|
virtual |
Implements ARDOUR::TransportMaster.
|
private |
|
private |
|
private |
|
private |
Definition at line 558 of file transport_master.h.
|
private |
Definition at line 559 of file transport_master.h.
|
private |
Definition at line 542 of file transport_master.h.
|
private |
Definition at line 552 of file transport_master.h.
|
private |
Definition at line 548 of file transport_master.h.
|
private |
Definition at line 549 of file transport_master.h.
|
private |
Definition at line 546 of file transport_master.h.
|
private |
Definition at line 547 of file transport_master.h.
|
private |
Definition at line 562 of file transport_master.h.
|
private |
Definition at line 541 of file transport_master.h.
|
private |
Definition at line 561 of file transport_master.h.
|
private |
Definition at line 554 of file transport_master.h.
|
private |
Definition at line 555 of file transport_master.h.
|
private |
Definition at line 556 of file transport_master.h.
|
staticprivate |
Definition at line 544 of file transport_master.h.
|
private |
Definition at line 563 of file transport_master.h.
|
private |
Definition at line 557 of file transport_master.h.
|
private |
Definition at line 550 of file transport_master.h.
|
private |
Definition at line 551 of file transport_master.h.