![]() |
Ardour
8.12
|
#include <session.h>
Classes | |
struct | AutoConnectRequest |
struct | CueEventTimeComparator |
class | ProcessorChangeBlocker |
struct | ptflookup |
struct | SaveAs |
struct | space_and_path |
struct | space_and_path_ascending_cmp |
class | StateProtector |
struct | TransportMasterStrategy |
Public Member Functions | |
Session (AudioEngine &, const std::string &fullpath, const std::string &snapshot_name, BusProfile const *bus_profile=0, std::string mix_template="", bool unnamed=false, samplecnt_t samplerate=0) | |
virtual | ~Session () |
std::string | path () const |
std::string | name () const |
std::string | snap_name () const |
std::string | raid_path () const |
bool | path_is_within_session (const std::string &) |
bool | writable () const |
void | set_clean () |
void | set_dirty () |
void | unset_dirty (bool emit_dirty_changed=false) |
void | set_deletion_in_progress () |
void | clear_deletion_in_progress () |
bool | reconnection_in_progress () const |
bool | routes_deletion_in_progress () const |
bool | dirty () const |
bool | deletion_in_progress () const |
bool | peaks_cleanup_in_progres () const |
bool | loading () const |
bool | cannot_save () const |
bool | in_cleanup () const |
bool | inital_connect_or_deletion_in_progress () const |
bool | have_external_connections_for_current_backend (bool tracks_only=true) const |
bool | unnamed () const |
void | end_unnamed_status () const |
const SessionDirectory & | session_directory () const |
int | ensure_subdirs () |
std::string | automation_dir () const |
Automation data. More... | |
std::string | analysis_dir () const |
Analysis data. More... | |
std::string | plugins_dir () const |
Plugin state. More... | |
std::string | externals_dir () const |
Links to external files. More... | |
std::string | construct_peak_filepath (const std::string &audio_path, const bool in_session=false, const bool old_peak_name=false) const |
bool | audio_source_name_is_unique (const std::string &name) |
std::string | format_audio_source_name (const std::string &legalized_base, uint32_t nchan, uint32_t chan, bool take_required, uint32_t cnt, bool related_exists) |
std::string | new_audio_source_path_for_embedded (const std::string &existing_path) |
std::string | new_audio_source_path (const std::string &, uint32_t nchans, uint32_t chan, bool take_required) |
std::string | new_midi_source_path (const std::string &, bool need_source_lock=true) |
RouteList | new_route_from_template (uint32_t how_many, PresentationInfo::order_t insert_at, const std::string &template_path, const std::string &name, PlaylistDisposition pd=NewPlaylist) |
RouteList | new_route_from_template (uint32_t how_many, PresentationInfo::order_t insert_at, XMLNode &, const std::string &name, PlaylistDisposition pd=NewPlaylist) |
std::vector< std::string > | get_paths_for_new_sources (bool allow_replacing, const std::string &import_file_path, uint32_t channels, std::vector< std::string > const &smf_track_names, bool use_smf_file_names) |
int | bring_all_sources_into_session (boost::function< void(uint32_t, uint32_t, std::string)> callback) |
void | process (pframes_t nframes) |
void | send_ltc_for_cycle (samplepos_t, samplepos_t, pframes_t) |
void | send_mclk_for_cycle (samplepos_t, samplepos_t, pframes_t, samplecnt_t) |
BufferSet & | get_silent_buffers (ChanCount count=ChanCount::ZERO) |
BufferSet & | get_noinplace_buffers (ChanCount count=ChanCount::ZERO) |
BufferSet & | get_scratch_buffers (ChanCount count=ChanCount::ZERO, bool silence=true) |
BufferSet & | get_route_buffers (ChanCount count=ChanCount::ZERO, bool silence=true) |
BufferSet & | get_mix_buffers (ChanCount count=ChanCount::ZERO) |
void | ensure_buffers_unlocked (ChanCount howmany) |
bool | have_rec_enabled_track () const |
bool | have_rec_disabled_track () const |
bool | have_captured () const |
samplecnt_t | capture_duration () const |
unsigned int | capture_xruns () const |
unsigned int | export_xruns () const |
void | refill_all_track_buffers () |
Butler * | butler () |
void | butler_transport_work (bool have_process_lock=false) |
void | refresh_disk_space () |
int | load_routes (const XMLNode &, int) |
std::shared_ptr< RouteList const > | get_routes () const |
std::shared_ptr< RTTaskList > | rt_tasklist () |
std::shared_ptr< IOTaskList > | io_tasklist () |
RouteList | get_routelist (bool mixer_order=false, PresentationInfo::Flag fl=PresentationInfo::MixerRoutes) const |
CoreSelection & | selection () const |
void | get_stripables (StripableList &, PresentationInfo::Flag fl=PresentationInfo::MixerStripables) const |
StripableList | get_stripables () const |
std::shared_ptr< RouteList > | get_tracks () const |
std::shared_ptr< RouteList > | get_routes_with_internal_returns () const |
std::shared_ptr< RouteList > | get_routes_with_regions_at (timepos_t const &) const |
uint32_t | nstripables (bool with_monitor=false) const |
uint32_t | nroutes () const |
uint32_t | ntracks () const |
uint32_t | naudiotracks () const |
uint32_t | nbusses () const |
bool | plot_process_graph (std::string const &file_name) const |
std::shared_ptr< BundleList const > | bundles () |
void | notify_presentation_info_change (PBD::PropertyChange const &) |
template<class T > | |
void | foreach_route (T *obj, void(T::*func)(Route &), bool sort=true) |
template<class T > | |
void | foreach_route (T *obj, void(T::*func)(std::shared_ptr< Route >), bool sort=true) |
template<class T , class A > | |
void | foreach_route (T *obj, void(T::*func)(Route &, A), A arg, bool sort=true) |
template<class A > | |
void | foreach_track (void(Track::*method)(A), A arg) |
template<class A1 , class A2 > | |
void | foreach_track (void(Track::*method)(A1, A2), A1 arg1, A2 arg2) |
void | foreach_route (void(Route::*method)()) |
template<class A > | |
void | foreach_route (void(Route::*method)(A), A arg) |
template<class A1 , class A2 > | |
void | foreach_route (void(Route::*method)(A1, A2), A1 arg1, A2 arg2) |
bool | io_name_is_legal (const std::string &) const |
std::shared_ptr< Route > | route_by_name (std::string) const |
std::shared_ptr< Route > | route_by_id (PBD::ID) const |
std::shared_ptr< Stripable > | stripable_by_id (PBD::ID) const |
std::shared_ptr< Stripable > | get_remote_nth_stripable (PresentationInfo::order_t n, PresentationInfo::Flag) const |
std::shared_ptr< Route > | get_remote_nth_route (PresentationInfo::order_t n) const |
std::shared_ptr< Route > | route_by_selected_count (uint32_t cnt) const |
void | routes_using_input_from (const std::string &str, RouteList &rl) |
bool | route_name_unique (std::string) const |
bool | route_name_internal (std::string) const |
uint32_t | track_number_decimals () const |
bool | get_record_enabled () const |
RecordState | record_status () const |
bool | actively_recording () const |
bool | record_enabling_legal () const |
void | maybe_enable_record (bool rt_context=false) |
void | disable_record (bool rt_context, bool force=false) |
void | step_back_from_record () |
void | set_all_tracks_record_enabled (bool) |
void | maybe_write_autosave () |
void | queue_event (SessionEvent *) |
void | request_roll_at_and_return (samplepos_t start, samplepos_t return_to) |
void | request_bounded_roll (samplepos_t start, samplepos_t end) |
void | request_roll (TransportRequestSource origin=TRS_UI) |
void | request_stop (bool abort=false, bool clear_state=false, TransportRequestSource origin=TRS_UI) |
void | request_locate (samplepos_t sample, bool force=false, LocateTransportDisposition ltd=RollIfAppropriate, TransportRequestSource origin=TRS_UI) |
void | request_play_loop (bool yn, bool leave_rolling=false) |
bool | get_play_loop () const |
samplepos_t | last_transport_start () const |
void | goto_end () |
void | goto_start (bool and_roll=false) |
void | use_rf_shuttle_speed () |
void | allow_auto_play (bool yn) |
double | default_play_speed () |
void | reset_transport_speed (TransportRequestSource origin=TRS_UI) |
void | trigger_stop_all (bool now=true) |
void | request_transport_speed (double speed, TransportRequestSource origin=TRS_UI) |
void | request_default_play_speed (double speed, TransportRequestSource origin=TRS_UI) |
void | request_transport_speed_nonzero (double, TransportRequestSource origin=TRS_UI) |
void | request_overwrite_buffer (std::shared_ptr< Track >, OverwriteReason) |
void | adjust_playback_buffering () |
void | adjust_capture_buffering () |
bool | global_locate_pending () const |
bool | locate_pending () const |
bool | locate_initiated () const |
bool | declick_in_progress () const |
bool | transport_locked () const |
bool | had_destructive_tracks () const |
void | set_had_destructive_tracks (bool yn) |
int | wipe () |
timepos_t | current_end () const |
timepos_t | current_start () const |
samplepos_t | current_end_sample () const |
samplepos_t | current_start_sample () const |
samplecnt_t | sample_rate () const |
samplecnt_t | nominal_sample_rate () const |
samplecnt_t | frames_per_hour () const |
double | samples_per_timecode_frame () const |
samplecnt_t | timecode_frames_per_hour () const |
MIDI::byte | get_mtc_timecode_bits () const |
double | timecode_frames_per_second () const |
bool | timecode_drop_frames () const |
Locations * | locations () |
void | set_auto_punch_location (Location *) |
void | set_auto_loop_location (Location *) |
void | set_session_extents (timepos_t const &start, timepos_t const &end) |
bool | session_range_is_free () const |
void | set_session_range_is_free (bool) |
pframes_t | get_block_size () const |
samplecnt_t | worst_output_latency () const |
samplecnt_t | worst_input_latency () const |
samplecnt_t | worst_route_latency () const |
samplecnt_t | io_latency () const |
samplecnt_t | worst_latency_preroll () const |
samplecnt_t | worst_latency_preroll_buffer_size_ceil () const |
int | save_as (SaveAs &) |
int | save_state (std::string snapshot_name="", bool pending=false, bool switch_to_snapshot=false, bool template_only=false, bool for_archive=false, bool only_used_assets=false) |
int | archive_session (const std::string &, const std::string &, ArchiveEncode compress_audio=FLAC_16BIT, PBD::FileArchive::CompressionLevel compression_level=PBD::FileArchive::CompressGood, bool only_used_sources=false, PBD::Progress *p=0) |
int | restore_state (std::string snapshot_name) |
int | save_template (const std::string &template_name, const std::string &description="", bool replace_existing=false) |
int | save_history (std::string snapshot_name="") |
int | restore_history (std::string snapshot_name) |
void | remove_state (std::string snapshot_name) |
void | rename_state (std::string old_name, std::string new_name) |
void | remove_pending_capture_state () |
int | rename (const std::string &) |
bool | get_nsm_state () const |
void | set_nsm_state (bool state) |
bool | save_default_options () |
std::vector< std::string > | possible_states () const |
bool | export_track_state (std::shared_ptr< RouteList > rl, const std::string &path) |
void | add_instant_xml (XMLNode &, bool write_to_config=true) |
The instant xml file is written to the session directory. More... | |
XMLNode * | instant_xml (const std::string &str) |
RouteGroup * | new_route_group (const std::string &) |
void | add_route_group (RouteGroup *) |
void | remove_route_group (RouteGroup *rg) |
void | remove_route_group (RouteGroup &) |
void | reorder_route_groups (std::list< RouteGroup * >) |
RouteGroup * | route_group_by_name (std::string) |
RouteGroup & | all_route_group () const |
void | foreach_route_group (boost::function< void(RouteGroup *)> f) |
std::list< RouteGroup * > const & | route_groups () const |
std::list< std::shared_ptr< AudioTrack > > | new_audio_track (int input_channels, int output_channels, RouteGroup *route_group, uint32_t how_many, std::string name_template, PresentationInfo::order_t order, TrackMode mode=Normal, bool input_auto_connect=true, bool trigger_visibility=false) |
std::list< std::shared_ptr< MidiTrack > > | new_midi_track (const ChanCount &input, const ChanCount &output, bool strict_io, std::shared_ptr< PluginInfo > instrument, Plugin::PresetRecord *pset, RouteGroup *route_group, uint32_t how_many, std::string name_template, PresentationInfo::order_t, TrackMode mode, bool input_auto_connect, bool trigger_visibility=false) |
RouteList | new_audio_route (int input_channels, int output_channels, RouteGroup *route_group, uint32_t how_many, std::string name_template, PresentationInfo::Flag, PresentationInfo::order_t) |
RouteList | new_midi_route (RouteGroup *route_group, uint32_t how_many, std::string name_template, bool strict_io, std::shared_ptr< PluginInfo > instrument, Plugin::PresetRecord *, PresentationInfo::Flag, PresentationInfo::order_t) |
void | remove_routes (std::shared_ptr< RouteList >) |
void | remove_route (std::shared_ptr< Route >) |
void | resort_routes () |
AudioEngine & | engine () |
AudioEngine const & | engine () const |
samplepos_t | transport_sample () const |
samplepos_t | record_location () const |
samplepos_t | audible_sample (bool *latent_locate=NULL) const |
samplepos_t | requested_return_sample () const |
void | set_requested_return_sample (samplepos_t return_to) |
boost::optional< samplepos_t > const & | nominal_jack_transport_sample () |
bool | compute_audible_delta (samplepos_t &pos_and_delta) const |
samplecnt_t | remaining_latency_preroll () const |
void | sync_time_vars () |
void | timecode_to_sample (Timecode::Time &timecode, samplepos_t &sample, bool use_offset, bool use_subframes) const |
void | sample_to_timecode (samplepos_t sample, Timecode::Time &timecode, bool use_offset, bool use_subframes) const |
void | timecode_time (Timecode::Time &) |
void | timecode_time (samplepos_t when, Timecode::Time &) |
void | timecode_time_subframes (samplepos_t when, Timecode::Time &) |
void | timecode_duration (samplecnt_t, Timecode::Time &) const |
void | timecode_duration_string (char *, size_t len, samplecnt_t) const |
samplecnt_t | convert_to_samples (AnyTime const &position) |
samplecnt_t | any_duration_to_samples (samplepos_t position, AnyTime const &duration) |
void | request_sync_source (std::shared_ptr< TransportMaster >) |
bool | synced_to_engine () const |
double | engine_speed () const |
double | actual_speed () const |
double | transport_speed (bool incl_preroll=false) const |
bool | transport_stopped () const |
bool | transport_stopped_or_stopping () const |
bool | transport_state_rolling () const |
bool | transport_rolling () const |
bool | transport_will_roll_forwards () const |
bool | transport_locating () const |
bool | silent () |
bool | punch_is_possible () const |
bool | loop_is_possible () const |
void | maybe_update_tempo_from_midiclock_tempo (float bpm) |
unsigned int | get_xrun_count () const |
void | reset_xrun_count () |
std::shared_ptr< Region > | find_whole_file_parent (std::shared_ptr< Region const >) const |
std::shared_ptr< Region > | XMLRegionFactory (const XMLNode &, bool full) |
std::shared_ptr< AudioRegion > | XMLAudioRegionFactory (const XMLNode &, bool full) |
std::shared_ptr< MidiRegion > | XMLMidiRegionFactory (const XMLNode &, bool full) |
void | deinterlace_midi_region (std::shared_ptr< MidiRegion > mr) |
void | import_files (ImportStatus &) |
bool | sample_rate_convert (ImportStatus &, std::string infile, std::string &outfile) |
std::string | build_tmp_convert_name (std::string file) |
std::shared_ptr< ExportHandler > | get_export_handler () |
std::shared_ptr< ExportStatus > | get_export_status () |
int | start_audio_export (samplepos_t position, bool realtime=false, bool region_export=false) |
void | add_source (std::shared_ptr< Source >) |
void | remove_source (std::weak_ptr< Source >, bool drop_references=true) |
void | cleanup_regions () |
bool | can_cleanup_peakfiles () const |
int | cleanup_peakfiles () |
int | cleanup_sources (CleanupReport &) |
int | cleanup_trash_sources (CleanupReport &) |
int | destroy_sources (std::list< std::shared_ptr< Source > > const &) |
int | remove_last_capture () |
void | get_last_capture_sources (std::list< std::shared_ptr< Source > > &) |
std::shared_ptr< AudioFileSource > | create_audio_source_for_session (size_t, std::string const &, uint32_t) |
std::shared_ptr< MidiSource > | create_midi_source_for_session (std::string const &) |
std::shared_ptr< MidiSource > | create_midi_source_by_stealing_name (std::shared_ptr< Track >) |
std::shared_ptr< Source > | source_by_id (const PBD::ID &) |
std::shared_ptr< AudioFileSource > | audio_source_by_path_and_channel (const std::string &, uint16_t) const |
std::shared_ptr< MidiSource > | midi_source_by_path (const std::string &, bool need_source_lock) const |
uint32_t | count_sources_by_origin (const std::string &) |
void | add_playlist (std::shared_ptr< Playlist >) |
void | add_automation_list (AutomationList *) |
std::shared_ptr< Auditioner > | the_auditioner () |
void | audition_playlist () |
void | audition_region (std::shared_ptr< Region >) |
void | cancel_audition () |
bool | is_auditioning () const |
void | register_lua_function (const std::string &, const std::string &, const LuaScriptParamList &) |
void | unregister_lua_function (const std::string &name) |
std::vector< std::string > | registered_lua_functions () |
uint32_t | registered_lua_function_count () const |
void | scripts_changed () |
void | load_io_plugin (std::shared_ptr< IOPlug >) |
bool | unload_io_plugin (std::shared_ptr< IOPlug >) |
std::shared_ptr< IOPlug > | nth_io_plug (uint32_t n) |
std::shared_ptr< IOPlugList const > | io_plugs () const |
std::shared_ptr< Region > | write_one_track (Track &, samplepos_t start, samplepos_t end, bool overwrite, std::vector< std::shared_ptr< Source > > &, InterThreadInfo &wot, std::shared_ptr< Processor > endpoint, bool include_endpoint, bool for_export, bool for_freeze, std::string const &source_name="", std::string const ®ion_name="") |
int | freeze_all (InterThreadInfo &) |
bool | muted () const |
std::vector< std::weak_ptr< AutomationControl > > | cancel_all_mute () |
bool | soloing () const |
bool | listening () const |
bool | solo_isolated () const |
void | cancel_all_solo () |
bool | solo_selection_active () |
void | solo_selection (StripableList &, bool) |
void | clear_all_solo_state (std::shared_ptr< RouteList const >) |
void | prepare_momentary_solo (SoloMuteRelease *smr=NULL, bool exclusive=false, std::shared_ptr< Route > route=std::shared_ptr< Route >()) |
void | set_controls (std::shared_ptr< AutomationControlList >, double val, PBD::Controllable::GroupControlDisposition) |
void | set_control (std::shared_ptr< AutomationControl >, double val, PBD::Controllable::GroupControlDisposition) |
void | set_exclusive_input_active (std::shared_ptr< RouteList > rt, bool onoff, bool flip_others=false) |
int | add_master_bus (ChanCount const &) |
void | reset_monitor_section () |
bool | monitor_active () const |
std::shared_ptr< Route > | monitor_out () const |
std::shared_ptr< Route > | master_out () const |
std::shared_ptr< GainControl > | master_volume () const |
std::shared_ptr< Route > | surround_master () const |
PresentationInfo::order_t | master_order_key () const |
bool | ensure_stripable_sort_order () |
void | globally_add_internal_sends (std::shared_ptr< Route > dest, Placement p, bool) |
void | globally_set_send_gains_from_track (std::shared_ptr< Route > dest) |
void | globally_set_send_gains_to_zero (std::shared_ptr< Route > dest) |
void | globally_set_send_gains_to_unity (std::shared_ptr< Route > dest) |
void | add_internal_sends (std::shared_ptr< Route > dest, Placement p, std::shared_ptr< RouteList > senders) |
void | add_internal_send (std::shared_ptr< Route >, int, std::shared_ptr< Route >) |
void | add_internal_send (std::shared_ptr< Route >, std::shared_ptr< Processor >, std::shared_ptr< Route >) |
uint32_t | next_send_id () |
uint32_t | next_surround_send_id () |
uint32_t | next_aux_send_id () |
uint32_t | next_return_id () |
uint32_t | next_insert_id () |
void | mark_send_id (uint32_t) |
void | mark_surround_send_id (uint32_t) |
void | mark_aux_send_id (uint32_t) |
void | mark_return_id (uint32_t) |
void | mark_insert_id (uint32_t) |
void | unmark_send_id (uint32_t) |
void | unmark_surround_send_id (uint32_t) |
void | unmark_aux_send_id (uint32_t) |
void | unmark_return_id (uint32_t) |
void | unmark_insert_id (uint32_t) |
bool | vapor_barrier () |
bool | vapor_export_barrier () |
boost::optional< samplecnt_t > | available_capture_duration () |
void | add_bundle (std::shared_ptr< Bundle >, bool emit_signal=true) |
void | remove_bundle (std::shared_ptr< Bundle >) |
std::shared_ptr< Bundle > | bundle_by_name (std::string) const |
void | midi_panic () |
void | undo (uint32_t n) |
void | redo (uint32_t n) |
PBD::UndoHistory & | history () |
uint32_t | undo_depth () const |
uint32_t | redo_depth () const |
std::string | next_undo () const |
std::string | next_redo () const |
void | begin_reversible_command (const std::string &cmd_name) |
void | begin_reversible_command (GQuark) |
void | abort_reversible_command () |
void | commit_reversible_command (PBD::Command *cmd=0) |
void | add_command (PBD::Command *const cmd) |
PBD::StatefulDiffCommand * | add_stateful_diff_command (std::shared_ptr< PBD::StatefulDestructible > sfd) |
std::list< GQuark > const & | current_operations () |
bool | operation_in_progress (GQuark) const |
bool | collected_undo_commands () const |
PBD::UndoTransaction * | current_reversible_command () |
bool | abort_empty_reversible_command () |
void | add_commands (std::vector< PBD::Command * > const &cmds) |
PBD::Command * | memento_command_factory (XMLNode *n) |
PBD::Command * | stateful_diff_command_factory (XMLNode *) |
void | register_with_memento_command_factory (PBD::ID, PBD::StatefulDestructible *) |
std::shared_ptr< IO > | click_io () |
std::shared_ptr< Amp > | click_gain () |
uint32_t | playback_load () |
uint32_t | capture_load () |
void | request_play_range (std::list< TimelineRange > *, bool leave_rolling=false) |
void | request_cancel_play_range () |
bool | get_play_range () const |
void | maybe_update_session_range (timepos_t const &, timepos_t const &) |
samplecnt_t | preroll_samples (samplepos_t) const |
void | request_preroll_record_trim (samplepos_t start, samplecnt_t preroll) |
void | request_count_in_record () |
samplecnt_t | preroll_record_trim_len () const |
void | set_range_selection (Temporal::timepos_t const &start, Temporal::timepos_t const &end) |
void | set_object_selection (Temporal::timepos_t const &start, Temporal::timepos_t const &end) |
void | clear_range_selection () |
void | clear_object_selection () |
void | cut_copy_section (Temporal::timepos_t const &start, Temporal::timepos_t const &end, Temporal::timepos_t const &to, SectionOperation const op) |
gain_t * | gain_automation_buffer () const |
gain_t * | trim_automation_buffer () const |
gain_t * | send_gain_automation_buffer () const |
gain_t * | scratch_automation_buffer () const |
pan_t ** | pan_automation_buffer () const |
std::shared_ptr< Speakers > | get_speakers () |
std::shared_ptr< ARDOUR::Trigger > | trigger_by_id (PBD::ID) const |
std::shared_ptr< Processor > | processor_by_id (PBD::ID) const |
std::shared_ptr< PBD::Controllable > | controllable_by_id (const PBD::ID &) |
std::shared_ptr< AutomationControl > | automation_control_by_id (const PBD::ID &) |
void | add_controllable (std::shared_ptr< PBD::Controllable >) |
std::shared_ptr< PBD::Controllable > | solo_cut_control () const |
std::shared_ptr< PBD::Controllable > | recently_touched_controllable () const |
bool | apply_nth_mixer_scene (size_t) |
bool | apply_nth_mixer_scene (size_t, RouteList const &) |
void | store_nth_mixer_scene (size_t) |
bool | nth_mixer_scene_valid (size_t) const |
size_t | last_touched_mixer_scene_idx () |
std::shared_ptr< MixerScene > | nth_mixer_scene (size_t, bool create_if_missing=false) |
std::vector< std::shared_ptr< MixerScene > > | mixer_scenes () const |
SessionConfiguration * | cfg () |
bool | exporting () const |
bool | realtime_export () const |
bool | bounce_processing () const |
std::shared_ptr< SessionPlaylists > | playlists () const |
void | send_mmc_locate (samplepos_t) |
void | queue_full_time_code () |
void | queue_song_position_pointer () |
bool | step_editing () const |
void | request_suspend_timecode_transmission () |
void | request_resume_timecode_transmission () |
bool | timecode_transmission_suspended () const |
std::vector< std::string > | source_search_path (DataType) const |
void | ensure_search_path_includes (const std::string &path, DataType type) |
void | remove_dir_from_search_path (const std::string &path, DataType type) |
std::list< std::string > | unknown_processors () const |
std::list< std::string > | missing_filesources (DataType) const |
void | set_missing_file_replacement (const std::string &mfr) |
SceneChanger * | scene_changer () const |
std::shared_ptr< Port > | mmc_output_port () const |
std::shared_ptr< Port > | mmc_input_port () const |
std::shared_ptr< Port > | trigger_input_port () const |
std::shared_ptr< Port > | scene_input_port () const |
std::shared_ptr< Port > | scene_output_port () const |
std::shared_ptr< AsyncMIDIPort > | vkbd_output_port () const |
std::shared_ptr< MidiPort > | midi_clock_output_port () const |
std::shared_ptr< MidiPort > | mtc_output_port () const |
std::shared_ptr< Port > | ltc_output_port () const |
MIDI::MachineControl & | mmc () |
void | reconnect_midi_scene_ports (bool) |
void | reconnect_mmc_ports (bool) |
void | reconnect_ltc_output () |
VCAManager & | vca_manager () |
VCAManager * | vca_manager_ptr () |
void | auto_connect_thread_wakeup () |
double | compute_speed_from_master (pframes_t nframes) |
bool | transport_master_is_external () const |
bool | transport_master_no_external_or_using_engine () const |
std::shared_ptr< TransportMaster > | transport_master () const |
void | import_pt_sources (PTFFormat &ptf, ImportStatus &status) |
void | import_pt_rest (PTFFormat &ptf) |
bool | import_sndfile_as_region (std::string path, SrcQuality quality, timepos_t &pos, SourceList &sources, ImportStatus &status, uint32_t current, uint32_t total) |
int32_t | first_cue_within (samplepos_t s, samplepos_t e, bool &was_recorded) |
void | trigger_cue_row (int32_t) |
CueEvents const & | cue_events () const |
int | num_triggerboxes () const |
std::shared_ptr< TriggerBox > | triggerbox_at (int32_t route_index) const |
TriggerPtr | trigger_at (int32_t route_index, int32_t row_index) const |
bool | bang_trigger_at (int32_t route_index, int32_t row_index, float velocity=1.0) |
bool | unbang_trigger_at (int32_t route_index, int32_t row_index) |
void | clear_cue (int row_index) |
void | start_domain_bounce (Temporal::DomainBounceInfo &) |
void | finish_domain_bounce (Temporal::DomainBounceInfo &) |
void | foreach_source (boost::function< void(std::shared_ptr< Source >)> f) |
bool | playlist_is_active (std::shared_ptr< Playlist >) |
![]() | |
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 |
![]() | |
virtual | ~Destructible () |
virtual void | drop_references () |
![]() | |
ScopedConnectionList () | |
virtual | ~ScopedConnectionList () |
void | add_connection (const UnscopedConnection &c) |
void | drop_connections () |
![]() | |
SessionEventManager () | |
virtual | ~SessionEventManager () |
void | clear_events (SessionEvent::Type type) |
void | clear_events (SessionEvent::Type type, boost::function< void(void)> after) |
![]() | |
TransportAPI () | |
virtual | ~TransportAPI () |
![]() | |
TimeDomainProvider () | |
TimeDomainProvider (TimeDomain td) | |
TimeDomainProvider (TimeDomain td, TimeDomainProvider const &p) | |
TimeDomainProvider (TimeDomainProvider const &other) | |
TimeDomainProvider (TimeDomainProvider const &parnt, bool) | |
virtual | ~TimeDomainProvider () |
XMLNode & | get_state () const |
int | set_state (const XMLNode &, int version) |
TimeDomainProvider & | operator= (TimeDomainProvider const &other) |
TimeDomain | time_domain () const |
bool | has_own_time_domain () const |
void | clear_time_domain () |
void | set_time_domain (TimeDomain td) |
TimeDomainProvider const * | time_domain_parent () const |
bool | has_time_domain_parent () const |
void | clear_time_domain_parent () |
void | set_time_domain_parent (TimeDomainProvider const &p) |
Static Public Member Functions | |
static int | get_info_from_path (const std::string &xmlpath, float &sample_rate, SampleFormat &data_format, std::string &program_version, XMLNode *engine_hints=0) |
static std::string | get_snapshot_from_instant (const std::string &session_dir) |
static unsigned int | next_name_id () |
static const std::string | session_name_is_legal (const std::string &) |
static std::vector< std::string > | possible_states (std::string path) |
static std::string | default_track_name_pattern (DataType) |
static void | set_disable_all_loaded_plugins (bool yn) |
static bool | get_disable_all_loaded_plugins () |
static void | set_bypass_all_loaded_plugins (bool yn) |
static bool | get_bypass_all_loaded_plugins () |
static intptr_t | vst_callback (AEffect *effect, int32_t opcode, int32_t index, intptr_t value, void *ptr, float opt) |
Public Attributes | |
PBD::Signal0< void > | DirtyChanged |
PBD::Signal0< void > | BatchUpdateStart |
PBD::Signal0< void > | BatchUpdateEnd |
PBD::Signal1< void, int > | SurroundObjectCountChanged |
PBD::Signal0< void > | IOConnectionsComplete |
PBD::Signal0< void > | RecordStateChanged |
PBD::Signal0< void > | RecordArmStateChanged |
PBD::Signal0< void > | UpdateRouteRecordState |
PBD::Signal0< void > | SessionLoaded |
PBD::Signal0< void > | TransportStateChange |
PBD::Signal1< void, samplepos_t > | PositionChanged |
PBD::Signal1< void, samplepos_t > | Xrun |
PBD::Signal0< void > | TransportLooped |
PBD::Signal0< void > | Located |
PBD::Signal1< void, RouteList & > | RouteAdded |
PBD::Signal1< void, RouteGroup * > | RouteGroupPropertyChanged |
PBD::Signal2< void, RouteGroup *, std::weak_ptr< Route > > | RouteAddedToRouteGroup |
PBD::Signal2< void, RouteGroup *, std::weak_ptr< Route > > | RouteRemovedFromRouteGroup |
PBD::Signal0< void > | FBSendsChanged |
PBD::Signal1< void, bool > | StepEditStatusChange |
PBD::Signal0< void > | MtcOrLtcInputPortChanged |
PBD::Signal1< void, Location * > | auto_loop_location_changed |
PBD::Signal1< void, Location * > | auto_punch_location_changed |
PBD::Signal0< void > | locations_modified |
PBD::Signal1< void, bool > | LatencyUpdated |
PBD::Signal1< void, std::string > | StateSaved |
PBD::Signal0< void > | StateReady |
PBD::Signal1< void, std::string > | SaveSessionRequested |
PBD::Signal0< void > | SessionSaveUnderway |
PBD::Signal1< void, RouteGroup * > | route_group_added |
PBD::Signal0< void > | route_group_removed |
PBD::Signal0< void > | route_groups_reordered |
PBD::Signal0< void > | PunchLoopConstraintChange |
PBD::Signal1< int, samplecnt_t > | ProcessExport |
PBD::Signal1< void, bool > | AuditionActive |
PBD::Signal0< void > | LuaScriptsChanged |
PBD::Signal0< void > | IOPluginsChanged |
PBD::Signal1< void, bool > | SoloActive |
PBD::Signal0< void > | SoloChanged |
PBD::Signal0< void > | MuteChanged |
PBD::Signal0< void > | IsolatedChanged |
PBD::Signal0< void > | MonitorChanged |
PBD::Signal0< void > | MonitorBusAddedOrRemoved |
PBD::Signal0< void > | SurroundMasterAddedOrRemoved |
PBD::Signal0< void > | session_routes_reconnected |
PBD::Signal0< void > | BundleAddedOrRemoved |
std::map< PBD::ID, PBD::StatefulDestructible * > | registry |
SessionConfiguration | config |
std::vector< struct ptflookup > | ptfwavpair |
SourceList | pt_imported_sources |
PBD::TimingStats | dsp_stats [NTT] |
PBD::Signal1< void, std::weak_ptr< Source > > | SourceAdded |
PBD::Signal1< void, std::weak_ptr< Source > > | SourceRemoved |
ARDOUR::CueMarkers | pending_source_markers |
![]() | |
PBD::Signal1< void, const PropertyChange & > | PropertyChanged |
![]() | |
PBD::Signal0< void > | Destroyed |
PBD::Signal0< void > | DropReferences |
![]() | |
PBD::Signal0< void > | TimeDomainChanged |
Static Public Attributes | |
static PBD::Signal1< void, std::string > | Dialog |
static PBD::Signal1< void, samplepos_t > | StartTimeChanged |
static PBD::Signal1< void, samplepos_t > | EndTimeChanged |
static PBD::Signal4< void, std::string, std::string, bool, samplepos_t > | Exported |
static PBD::Signal1< int, std::shared_ptr< Playlist > > | AskAboutPlaylistDeletion |
static PBD::Signal2< int, samplecnt_t, samplecnt_t > | AskAboutSampleRateMismatch |
static PBD::Signal2< void, samplecnt_t, samplecnt_t > | NotifyAboutSampleRateMismatch |
static PBD::Signal0< int > | AskAboutPendingState |
static PBD::Signal0< void > | AfterConnect |
static const SessionEvent::RTeventCallback | rt_cleanup |
static int | vst_current_loading_id |
static const char * | vst_can_do_strings [] |
static const int | vst_can_do_string_count |
static PBD::Signal0< void > | SendFeedback |
static PBD::Signal0< void > | FeedbackDetected |
static PBD::Signal0< void > | SuccessfulGraphSort |
static PBD::Signal3< int, Session *, std::string, DataType > | MissingFile |
static PBD::Signal0< void > | Quit |
static PBD::Signal2< void, std::string, std::string > | VersionMismatch |
![]() | |
static int | current_state_version |
static int | loading_state_version |
Protected Member Functions | |
void | set_block_size (pframes_t nframes) |
void | set_sample_rate (samplecnt_t nframes) |
void | update_latency_compensation (bool force, bool called_from_backend) |
void | locate (samplepos_t, bool for_loop_end=false, bool force=false, bool with_mmc=true) |
void | stop_transport (bool abort=false, bool clear_state=false) |
void | start_transport (bool after_loop) |
void | butler_completed_transport_work () |
void | post_locate () |
void | schedule_butler_for_transport_work () |
bool | should_roll_after_locate () const |
bool | user_roll_after_locate () const |
bool | should_stop_before_locate () const |
samplepos_t | position () const |
void | set_transport_speed (double speed) |
void | set_default_play_speed (double spd) |
bool | need_declick_before_locate () const |
void | tempo_map_changed () |
![]() | |
void | add_instant_xml (XMLNode &, const std::string &directory_path) |
XMLNode * | instant_xml (const std::string &str, const std::string &directory_path) |
void | add_properties (XMLNode &) const |
PropertyChange | set_values (XMLNode const &) |
virtual void | post_set (const PropertyChange &) |
virtual void | send_change (const PropertyChange &) |
virtual void | mid_thaw (const PropertyChange &) |
bool | regenerate_xml_or_string_ids () const |
![]() | |
void | dump_events () const |
void | merge_event (SessionEvent *) |
void | replace_event (SessionEvent::Type, samplepos_t action_sample, samplepos_t target=0) |
bool | _replace_event (SessionEvent *) |
bool | _remove_event (SessionEvent *) |
void | _clear_event_type (SessionEvent::Type) |
void | add_event (samplepos_t action_sample, SessionEvent::Type type, samplepos_t target_sample=0) |
void | remove_event (samplepos_t sample, SessionEvent::Type type) |
![]() | |
void | listen () |
Private Types | |
enum | TransportMasterState { Stopped , Waiting , Running } |
enum | TransportMasterAction { TransportMasterRelax , TransportMasterNoRoll , TransportMasterLocate , TransportMasterStart , TransportMasterStop , TransportMasterWait } |
enum | PunchLoopLock { NoConstraint , OnlyPunch , OnlyLoop } |
enum | snapshot_t { NormalSave , SnapshotKeep , SwitchToSnapshot } |
typedef void(Session::* | process_function_type) (pframes_t) |
typedef std::queue< AutoConnectRequest > | AutoConnectQueue |
typedef boost::function< bool()> | MidiTimeoutCallback |
typedef std::list< MidiTimeoutCallback > | MidiTimeoutList |
typedef std::list< Click * > | Clicks |
typedef std::set< std::shared_ptr< PBD::Controllable > > | Controllables |
Static Private Member Functions | |
static void | init_name_id_counter (unsigned int n) |
static unsigned int | name_id_counter () |
static int | parse_stateful_loading_version (const std::string &) |
static void * | session_loader_thread (void *arg) |
static void * | emit_thread (void *) |
static void * | auto_connect_thread (void *) |
static int | ask_about_playlist_deletion (std::shared_ptr< Playlist >) |
Static Private Attributes | |
static std::atomic< unsigned int > | _name_id_counter |
static const samplecnt_t | bounce_chunk_size |
static const PostTransportWork | ProcessCannotProceedMask = PostTransportWork (PostTransportAudition) |
static const Sample | default_click [] |
static const samplecnt_t | default_click_length |
static const Sample | default_click_emphasis [] |
static const samplecnt_t | default_click_emphasis_length |
static bool | _disable_all_loaded_plugins |
static bool | _bypass_all_loaded_plugins |
static const uint32_t | session_end_shift |
Friends | |
class | AudioEngine |
class | Route |
class | StateProtector |
class | PortManager |
class | IOPlug |
class | ProcessorChangeBlocker |
Additional Inherited Members | |
![]() | |
typedef std::list< SessionEvent * > | Events |
![]() | |
XMLNode * | _extra_xml |
XMLNode * | _instant_xml |
PBD::PropertyChange | _pending_changed |
Glib::Threads::Mutex | _lock |
std::string | _xml_node_name |
name of node to use for this object in XML More... | |
OwnedPropertyList * | _properties |
![]() | |
PBD::RingBuffer< SessionEvent * > | pending_events |
Events | events |
Events | immediate_events |
Events::iterator | next_event |
Glib::Threads::Mutex | rb_write_lock |
SessionEvent * | auto_loop_event |
SessionEvent * | punch_out_event |
SessionEvent * | punch_in_event |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
typedef std::map<PBD::ID,std::shared_ptr<Source> > ARDOUR::Session::SourceMap |
|
private |
|
private |
|
private |
|
private |
ARDOUR::Session::Session | ( | AudioEngine & | , |
const std::string & | fullpath, | ||
const std::string & | snapshot_name, | ||
BusProfile const * | bus_profile = 0 , |
||
std::string | mix_template = "" , |
||
bool | unnamed = false , |
||
samplecnt_t | samplerate = 0 |
||
) |
|
virtual |
|
private |
|
private |
bool ARDOUR::Session::abort_empty_reversible_command | ( | ) |
Abort reversible command IFF no undo changes have been collected.
void ARDOUR::Session::abort_reversible_command | ( | ) |
abort an open undo command This must only be called after begin_reversible_command ()
double ARDOUR::Session::actual_speed | ( | ) | const |
void ARDOUR::Session::add_automation_list | ( | AutomationList * | ) |
void ARDOUR::Session::add_bundle | ( | std::shared_ptr< Bundle > | , |
bool | emit_signal = true |
||
) |
|
private |
void ARDOUR::Session::add_command | ( | PBD::Command *const | cmd | ) |
void ARDOUR::Session::add_commands | ( | std::vector< PBD::Command * > const & | cmds | ) |
void ARDOUR::Session::add_controllable | ( | std::shared_ptr< PBD::Controllable > | ) |
void ARDOUR::Session::add_instant_xml | ( | XMLNode & | , |
bool | write_to_config = true |
||
) |
The instant xml file is written to the session directory.
void ARDOUR::Session::add_internal_send | ( | std::shared_ptr< Route > | , |
int | , | ||
std::shared_ptr< Route > | |||
) |
void ARDOUR::Session::add_internal_send | ( | std::shared_ptr< Route > | , |
std::shared_ptr< Processor > | , | ||
std::shared_ptr< Route > | |||
) |
void ARDOUR::Session::add_internal_sends | ( | std::shared_ptr< Route > | dest, |
Placement | p, | ||
std::shared_ptr< RouteList > | senders | ||
) |
int ARDOUR::Session::add_master_bus | ( | ChanCount const & | ) |
|
private |
void ARDOUR::Session::add_playlist | ( | std::shared_ptr< Playlist > | ) |
|
private |
void ARDOUR::Session::add_route_group | ( | RouteGroup * | ) |
|
private |
|
private |
void ARDOUR::Session::add_source | ( | std::shared_ptr< Source > | ) |
PBD::StatefulDiffCommand* ARDOUR::Session::add_stateful_diff_command | ( | std::shared_ptr< PBD::StatefulDestructible > | sfd | ) |
create an StatefulDiffCommand from the given object and add it to the stack.
This function must only be called after begin_reversible_command. Failing to do so may lead to a crash.
sfd | the object to diff |
|
private |
void ARDOUR::Session::adjust_capture_buffering | ( | ) |
void ARDOUR::Session::adjust_playback_buffering | ( | ) |
RouteGroup& ARDOUR::Session::all_route_group | ( | ) | const |
void ARDOUR::Session::allow_auto_play | ( | bool | yn | ) |
std::string ARDOUR::Session::analysis_dir | ( | ) | const |
Analysis data.
samplecnt_t ARDOUR::Session::any_duration_to_samples | ( | samplepos_t | position, |
AnyTime const & | duration | ||
) |
bool ARDOUR::Session::apply_nth_mixer_scene | ( | size_t | ) |
bool ARDOUR::Session::apply_nth_mixer_scene | ( | size_t | , |
RouteList const & | |||
) |
int ARDOUR::Session::archive_session | ( | const std::string & | , |
const std::string & | , | ||
ArchiveEncode | compress_audio = FLAC_16BIT , |
||
PBD::FileArchive::CompressionLevel | compression_level = PBD::FileArchive::CompressGood , |
||
bool | only_used_sources = false , |
||
PBD::Progress * | p = 0 |
||
) |
|
staticprivate |
samplepos_t ARDOUR::Session::audible_sample | ( | bool * | latent_locate = NULL | ) | const |
std::shared_ptr<AudioFileSource> ARDOUR::Session::audio_source_by_path_and_channel | ( | const std::string & | , |
uint16_t | |||
) | const |
bool ARDOUR::Session::audio_source_name_is_unique | ( | const std::string & | name | ) |
void ARDOUR::Session::audition_playlist | ( | ) |
void ARDOUR::Session::audition_region | ( | std::shared_ptr< Region > | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
void ARDOUR::Session::auto_connect_thread_wakeup | ( | ) |
|
private |
|
private |
|
private |
|
private |
std::shared_ptr<AutomationControl> ARDOUR::Session::automation_control_by_id | ( | const PBD::ID & | ) |
std::string ARDOUR::Session::automation_dir | ( | ) | const |
Automation data.
boost::optional<samplecnt_t> ARDOUR::Session::available_capture_duration | ( | ) |
|
private |
bool ARDOUR::Session::bang_trigger_at | ( | int32_t | route_index, |
int32_t | row_index, | ||
float | velocity = 1.0 |
||
) |
void ARDOUR::Session::begin_reversible_command | ( | const std::string & | cmd_name | ) |
begin collecting undo information
This call must always be followed by either begin_reversible_command() or commit_reversible_command()
cmd_name | human readable name for the undo operation |
void ARDOUR::Session::begin_reversible_command | ( | GQuark | ) |
|
private |
int ARDOUR::Session::bring_all_sources_into_session | ( | boost::function< void(uint32_t, uint32_t, std::string)> | callback | ) |
std::string ARDOUR::Session::build_tmp_convert_name | ( | std::string | file | ) |
std::shared_ptr<Bundle> ARDOUR::Session::bundle_by_name | ( | std::string | ) | const |
|
inline |
|
protectedvirtual |
Implements ARDOUR::TransportAPI.
void ARDOUR::Session::butler_transport_work | ( | bool | have_process_lock = false | ) |
|
private |
bool ARDOUR::Session::can_cleanup_peakfiles | ( | ) | const |
std::vector<std::weak_ptr<AutomationControl> > ARDOUR::Session::cancel_all_mute | ( | ) |
void ARDOUR::Session::cancel_all_solo | ( | ) |
void ARDOUR::Session::cancel_audition | ( | ) |
|
inline |
uint32_t ARDOUR::Session::capture_load | ( | ) |
|
inline |
|
inline |
|
private |
int ARDOUR::Session::cleanup_peakfiles | ( | ) |
void ARDOUR::Session::cleanup_regions | ( | ) |
int ARDOUR::Session::cleanup_sources | ( | CleanupReport & | ) |
int ARDOUR::Session::cleanup_trash_sources | ( | CleanupReport & | ) |
|
private |
void ARDOUR::Session::clear_all_solo_state | ( | std::shared_ptr< RouteList const > | ) |
|
private |
void ARDOUR::Session::clear_cue | ( | int | row_index | ) |
void ARDOUR::Session::clear_deletion_in_progress | ( | ) |
void ARDOUR::Session::clear_object_selection | ( | ) |
void ARDOUR::Session::clear_range_selection | ( | ) |
|
private |
|
inline |
|
private |
|
private |
|
inline |
Test if any undo commands were added since the call to begin_reversible_command ()
This is useful to determine if an undoable action was performed before adding additional information (e.g. selection changes) to the undo transaction.
void ARDOUR::Session::commit_reversible_command | ( | PBD::Command * | cmd = 0 | ) |
finalize an undo command and commit pending transactions
This must only be called after begin_reversible_command ()
cmd | (additional) command to add |
bool ARDOUR::Session::compute_audible_delta | ( | samplepos_t & | pos_and_delta | ) | const |
double ARDOUR::Session::compute_speed_from_master | ( | pframes_t | nframes | ) |
|
private |
|
private |
|
private |
std::string ARDOUR::Session::construct_peak_filepath | ( | const std::string & | audio_path, |
const bool | in_session = false , |
||
const bool | old_peak_name = false |
||
) | const |
std::shared_ptr<PBD::Controllable> ARDOUR::Session::controllable_by_id | ( | const PBD::ID & | ) |
|
private |
samplecnt_t ARDOUR::Session::convert_to_samples | ( | AnyTime const & | position | ) |
uint32_t ARDOUR::Session::count_sources_by_origin | ( | const std::string & | ) |
|
private |
std::shared_ptr<AudioFileSource> ARDOUR::Session::create_audio_source_for_session | ( | size_t | , |
std::string const & | , | ||
uint32_t | |||
) |
std::shared_ptr<MidiSource> ARDOUR::Session::create_midi_source_by_stealing_name | ( | std::shared_ptr< Track > | ) |
std::shared_ptr<MidiSource> ARDOUR::Session::create_midi_source_for_session | ( | std::string const & | ) |
|
inline |
|
private |
timepos_t ARDOUR::Session::current_end | ( | ) | const |
samplepos_t ARDOUR::Session::current_end_sample | ( | ) | const |
|
inline |
|
inline |
timepos_t ARDOUR::Session::current_start | ( | ) | const |
samplepos_t ARDOUR::Session::current_start_sample | ( | ) | const |
void ARDOUR::Session::cut_copy_section | ( | Temporal::timepos_t const & | start, |
Temporal::timepos_t const & | end, | ||
Temporal::timepos_t const & | to, | ||
SectionOperation const | op | ||
) |
bool ARDOUR::Session::declick_in_progress | ( | ) | const |
|
inlineprivate |
double ARDOUR::Session::default_play_speed | ( | ) |
|
static |
void ARDOUR::Session::deinterlace_midi_region | ( | std::shared_ptr< MidiRegion > | mr | ) |
|
inline |
|
private |
int ARDOUR::Session::destroy_sources | ( | std::list< std::shared_ptr< Source > > const & | ) |
void ARDOUR::Session::disable_record | ( | bool | rt_context, |
bool | force = false |
||
) |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
void ARDOUR::Session::end_unnamed_status | ( | ) | const |
|
inline |
|
inline |
|
private |
|
private |
|
private |
void ARDOUR::Session::ensure_buffers_unlocked | ( | ChanCount | howmany | ) |
|
private |
void ARDOUR::Session::ensure_search_path_includes | ( | const std::string & | path, |
DataType | type | ||
) |
bool ARDOUR::Session::ensure_stripable_sort_order | ( | ) |
int ARDOUR::Session::ensure_subdirs | ( | ) |
bool ARDOUR::Session::export_track_state | ( | std::shared_ptr< RouteList > | rl, |
const std::string & | path | ||
) |
|
inline |
std::string ARDOUR::Session::externals_dir | ( | ) | const |
Links to external files.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
std::shared_ptr<Region> ARDOUR::Session::find_whole_file_parent | ( | std::shared_ptr< Region const > | ) | const |
void ARDOUR::Session::finish_domain_bounce | ( | Temporal::DomainBounceInfo & | ) |
int32_t ARDOUR::Session::first_cue_within | ( | samplepos_t | s, |
samplepos_t | e, | ||
bool & | was_recorded | ||
) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void ARDOUR::Session::foreach_route | ( | T * | obj, |
void(T::*)(Route &) | func, | ||
bool | sort = true |
||
) |
Definition at line 35 of file session_route.h.
void ARDOUR::Session::foreach_route | ( | T * | obj, |
void(T::*)(Route &, A) | func, | ||
A | arg, | ||
bool | sort = true |
||
) |
Definition at line 65 of file session_route.h.
void ARDOUR::Session::foreach_route | ( | T * | obj, |
void(T::*)(std::shared_ptr< Route >) | func, | ||
bool | sort = true |
||
) |
Definition at line 50 of file session_route.h.
void ARDOUR::Session::foreach_route | ( | void(Route::*)() | method | ) |
void ARDOUR::Session::foreach_route | ( | void(Route::*)(A) | method, |
A | arg | ||
) |
Definition at line 107 of file session_route.h.
void ARDOUR::Session::foreach_route | ( | void(Route::*)(A1, A2) | method, |
A1 | arg1, | ||
A2 | arg2 | ||
) |
Definition at line 116 of file session_route.h.
|
inline |
|
inline |
void ARDOUR::Session::foreach_track | ( | void(Track::*)(A) | method, |
A | arg | ||
) |
Definition at line 81 of file session_route.h.
void ARDOUR::Session::foreach_track | ( | void(Track::*)(A1, A2) | method, |
A1 | arg1, | ||
A2 | arg2 | ||
) |
Definition at line 94 of file session_route.h.
std::string ARDOUR::Session::format_audio_source_name | ( | const std::string & | legalized_base, |
uint32_t | nchan, | ||
uint32_t | chan, | ||
bool | take_required, | ||
uint32_t | cnt, | ||
bool | related_exists | ||
) |
|
inline |
int ARDOUR::Session::freeze_all | ( | InterThreadInfo & | ) |
gain_t* ARDOUR::Session::gain_automation_buffer | ( | ) | const |
|
private |
|
inline |
|
inlinestatic |
|
private |
|
private |
|
inlinestatic |
std::shared_ptr<ExportHandler> ARDOUR::Session::get_export_handler | ( | ) |
std::shared_ptr<ExportStatus> ARDOUR::Session::get_export_status | ( | ) |
|
static |
void ARDOUR::Session::get_last_capture_sources | ( | std::list< std::shared_ptr< Source > > & | ) |
|
private |
BufferSet& ARDOUR::Session::get_mix_buffers | ( | ChanCount | count = ChanCount::ZERO | ) |
|
inline |
BufferSet& ARDOUR::Session::get_noinplace_buffers | ( | ChanCount | count = ChanCount::ZERO | ) |
std::vector<std::string> ARDOUR::Session::get_paths_for_new_sources | ( | bool | allow_replacing, |
const std::string & | import_file_path, | ||
uint32_t | channels, | ||
std::vector< std::string > const & | smf_track_names, | ||
bool | use_smf_file_names | ||
) |
|
private |
std::shared_ptr<Route> ARDOUR::Session::get_remote_nth_route | ( | PresentationInfo::order_t | n | ) | const |
std::shared_ptr<Stripable> ARDOUR::Session::get_remote_nth_stripable | ( | PresentationInfo::order_t | n, |
PresentationInfo::Flag | |||
) | const |
BufferSet& ARDOUR::Session::get_route_buffers | ( | ChanCount | count = ChanCount::ZERO , |
bool | silence = true |
||
) |
RouteList ARDOUR::Session::get_routelist | ( | bool | mixer_order = false , |
PresentationInfo::Flag | fl = PresentationInfo::MixerRoutes |
||
) | const |
|
inline |
std::shared_ptr<RouteList> ARDOUR::Session::get_routes_with_internal_returns | ( | ) | const |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
BufferSet& ARDOUR::Session::get_scratch_buffers | ( | ChanCount | count = ChanCount::ZERO , |
bool | silence = true |
||
) |
BufferSet& ARDOUR::Session::get_silent_buffers | ( | ChanCount | count = ChanCount::ZERO | ) |
|
static |
|
private |
std::shared_ptr<Speakers> ARDOUR::Session::get_speakers | ( | ) |
|
privatevirtual |
Implements PBD::Stateful.
StripableList ARDOUR::Session::get_stripables | ( | ) | const |
void ARDOUR::Session::get_stripables | ( | StripableList & | , |
PresentationInfo::Flag | fl = PresentationInfo::MixerStripables |
||
) | const |
|
private |
|
private |
std::shared_ptr<RouteList> ARDOUR::Session::get_tracks | ( | ) | const |
|
inline |
|
inline |
void ARDOUR::Session::globally_add_internal_sends | ( | std::shared_ptr< Route > | dest, |
Placement | p, | ||
bool | |||
) |
void ARDOUR::Session::globally_set_send_gains_from_track | ( | std::shared_ptr< Route > | dest | ) |
void ARDOUR::Session::globally_set_send_gains_to_unity | ( | std::shared_ptr< Route > | dest | ) |
void ARDOUR::Session::globally_set_send_gains_to_zero | ( | std::shared_ptr< Route > | dest | ) |
void ARDOUR::Session::goto_end | ( | ) |
void ARDOUR::Session::goto_start | ( | bool | and_roll = false | ) |
|
private |
bool ARDOUR::Session::had_destructive_tracks | ( | ) | const |
|
private |
bool ARDOUR::Session::have_external_connections_for_current_backend | ( | bool | tracks_only = true | ) | const |
bool ARDOUR::Session::have_rec_disabled_track | ( | ) | const |
bool ARDOUR::Session::have_rec_enabled_track | ( | ) | const |
|
inline |
|
private |
|
private |
|
private |
void ARDOUR::Session::import_files | ( | ImportStatus & | ) |
void ARDOUR::Session::import_pt_rest | ( | PTFFormat & | ptf | ) |
void ARDOUR::Session::import_pt_sources | ( | PTFFormat & | ptf, |
ImportStatus & | status | ||
) |
bool ARDOUR::Session::import_sndfile_as_region | ( | std::string | path, |
SrcQuality | quality, | ||
timepos_t & | pos, | ||
SourceList & | sources, | ||
ImportStatus & | status, | ||
uint32_t | current, | ||
uint32_t | total | ||
) |
|
inlineprivate |
|
staticprivate |
|
inline |
|
private |
XMLNode* ARDOUR::Session::instant_xml | ( | const std::string & | str | ) |
|
inline |
bool ARDOUR::Session::io_name_is_legal | ( | const std::string & | ) | const |
|
inline |
|
inline |
bool ARDOUR::Session::is_auditioning | ( | ) | const |
|
inline |
|
inline |
|
private |
bool ARDOUR::Session::listening | ( | ) | const |
|
private |
|
private |
|
private |
void ARDOUR::Session::load_io_plugin | ( | std::shared_ptr< IOPlug > | ) |
|
private |
|
private |
|
private |
|
private |
int ARDOUR::Session::load_routes | ( | const XMLNode & | , |
int | |||
) |
|
private |
|
private |
|
protectedvirtual |
Implements ARDOUR::TransportAPI.
bool ARDOUR::Session::locate_initiated | ( | ) | const |
bool ARDOUR::Session::locate_pending | ( | ) | const |
|
private |
|
private |
|
private |
bool ARDOUR::Session::loop_is_possible | ( | ) | const |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void ARDOUR::Session::mark_aux_send_id | ( | uint32_t | ) |
void ARDOUR::Session::mark_insert_id | ( | uint32_t | ) |
void ARDOUR::Session::mark_return_id | ( | uint32_t | ) |
void ARDOUR::Session::mark_send_id | ( | uint32_t | ) |
void ARDOUR::Session::mark_surround_send_id | ( | uint32_t | ) |
|
inline |
|
inline |
std::shared_ptr<GainControl> ARDOUR::Session::master_volume | ( | ) | const |
|
private |
|
private |
|
private |
void ARDOUR::Session::maybe_enable_record | ( | bool | rt_context = false | ) |
|
private |
|
private |
|
private |
void ARDOUR::Session::maybe_update_tempo_from_midiclock_tempo | ( | float | bpm | ) |
void ARDOUR::Session::maybe_write_autosave | ( | ) |
PBD::Command* ARDOUR::Session::memento_command_factory | ( | XMLNode * | n | ) |
|
private |
std::shared_ptr<MidiPort> ARDOUR::Session::midi_clock_output_port | ( | ) | const |
|
private |
void ARDOUR::Session::midi_panic | ( | ) |
|
private |
std::shared_ptr<MidiSource> ARDOUR::Session::midi_source_by_path | ( | const std::string & | , |
bool | need_source_lock | ||
) | const |
|
private |
std::list<std::string> ARDOUR::Session::missing_filesources | ( | DataType | ) | const |
std::vector<std::shared_ptr<MixerScene> > ARDOUR::Session::mixer_scenes | ( | ) | const |
|
inline |
|
private |
|
private |
std::shared_ptr<Port> ARDOUR::Session::mmc_input_port | ( | ) | const |
|
private |
std::shared_ptr<Port> ARDOUR::Session::mmc_output_port | ( | ) | const |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
std::shared_ptr<MidiPort> ARDOUR::Session::mtc_output_port | ( | ) | const |
|
private |
bool ARDOUR::Session::muted | ( | ) | const |
|
staticprivate |
uint32_t ARDOUR::Session::naudiotracks | ( | ) | const |
uint32_t ARDOUR::Session::nbusses | ( | ) | const |
|
protectedvirtual |
Implements ARDOUR::TransportAPI.
RouteList ARDOUR::Session::new_audio_route | ( | int | input_channels, |
int | output_channels, | ||
RouteGroup * | route_group, | ||
uint32_t | how_many, | ||
std::string | name_template, | ||
PresentationInfo::Flag | , | ||
PresentationInfo::order_t | |||
) |
std::string ARDOUR::Session::new_audio_source_path | ( | const std::string & | , |
uint32_t | nchans, | ||
uint32_t | chan, | ||
bool | take_required | ||
) |
std::string ARDOUR::Session::new_audio_source_path_for_embedded | ( | const std::string & | existing_path | ) |
std::list<std::shared_ptr<AudioTrack> > ARDOUR::Session::new_audio_track | ( | int | input_channels, |
int | output_channels, | ||
RouteGroup * | route_group, | ||
uint32_t | how_many, | ||
std::string | name_template, | ||
PresentationInfo::order_t | order, | ||
TrackMode | mode = Normal , |
||
bool | input_auto_connect = true , |
||
bool | trigger_visibility = false |
||
) |
RouteList ARDOUR::Session::new_midi_route | ( | RouteGroup * | route_group, |
uint32_t | how_many, | ||
std::string | name_template, | ||
bool | strict_io, | ||
std::shared_ptr< PluginInfo > | instrument, | ||
Plugin::PresetRecord * | , | ||
PresentationInfo::Flag | , | ||
PresentationInfo::order_t | |||
) |
std::string ARDOUR::Session::new_midi_source_path | ( | const std::string & | , |
bool | need_source_lock = true |
||
) |
std::list<std::shared_ptr<MidiTrack> > ARDOUR::Session::new_midi_track | ( | const ChanCount & | input, |
const ChanCount & | output, | ||
bool | strict_io, | ||
std::shared_ptr< PluginInfo > | instrument, | ||
Plugin::PresetRecord * | pset, | ||
RouteGroup * | route_group, | ||
uint32_t | how_many, | ||
std::string | name_template, | ||
PresentationInfo::order_t | , | ||
TrackMode | mode, | ||
bool | input_auto_connect, | ||
bool | trigger_visibility = false |
||
) |
RouteList ARDOUR::Session::new_route_from_template | ( | uint32_t | how_many, |
PresentationInfo::order_t | insert_at, | ||
const std::string & | template_path, | ||
const std::string & | name, | ||
PlaylistDisposition | pd = NewPlaylist |
||
) |
create a new track or bus from a template (XML path)
how_many | how many tracks or busses to create |
template_path | path to xml template file |
insert_at | position where to add new track, use PresentationInfo::max_order to append at the end. |
name | name (prefix) of the route to create |
pd | Playlist disposition |
RouteList ARDOUR::Session::new_route_from_template | ( | uint32_t | how_many, |
PresentationInfo::order_t | insert_at, | ||
XMLNode & | , | ||
const std::string & | name, | ||
PlaylistDisposition | pd = NewPlaylist |
||
) |
RouteGroup* ARDOUR::Session::new_route_group | ( | const std::string & | ) |
uint32_t ARDOUR::Session::next_aux_send_id | ( | ) |
uint32_t ARDOUR::Session::next_insert_id | ( | ) |
|
static |
a monotonic counter used for naming user-visible things uniquely (curently the sidechain port). Use sparingly to keep the numbers low, prefer PBD::ID for all internal, not user-visible IDs
uint32_t ARDOUR::Session::next_return_id | ( | ) |
uint32_t ARDOUR::Session::next_send_id | ( | ) |
uint32_t ARDOUR::Session::next_surround_send_id | ( | ) |
|
private |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inlineprivate |
void ARDOUR::Session::notify_presentation_info_change | ( | PBD::PropertyChange const & | ) |
uint32_t ARDOUR::Session::nstripables | ( | bool | with_monitor = false | ) | const |
|
inline |
std::shared_ptr<MixerScene> ARDOUR::Session::nth_mixer_scene | ( | size_t | , |
bool | create_if_missing = false |
||
) |
bool ARDOUR::Session::nth_mixer_scene_valid | ( | size_t | ) | const |
uint32_t ARDOUR::Session::ntracks | ( | ) | const |
int ARDOUR::Session::num_triggerboxes | ( | ) | const |
bool ARDOUR::Session::operation_in_progress | ( | GQuark | ) | const |
|
private |
pan_t** ARDOUR::Session::pan_automation_buffer | ( | ) | const |
|
staticprivate |
bool ARDOUR::Session::path_is_within_session | ( | const std::string & | ) |
|
inline |
|
private |
|
private |
uint32_t ARDOUR::Session::playback_load | ( | ) |
bool ARDOUR::Session::playlist_is_active | ( | std::shared_ptr< Playlist > | ) |
|
private |
|
private |
|
private |
|
inline |
bool ARDOUR::Session::plot_process_graph | ( | std::string const & | file_name | ) | const |
std::string ARDOUR::Session::plugins_dir | ( | ) | const |
Plugin state.
|
private |
|
inlineprotectedvirtual |
Implements ARDOUR::TransportAPI.
std::vector<std::string> ARDOUR::Session::possible_states | ( | ) | const |
|
static |
|
private |
|
protected |
|
private |
|
inlineprivate |
|
private |
|
private |
void ARDOUR::Session::prepare_momentary_solo | ( | SoloMuteRelease * | smr = NULL , |
bool | exclusive = false , |
||
std::shared_ptr< Route > | route = std::shared_ptr< Route >() |
||
) |
|
inline |
samplecnt_t ARDOUR::Session::preroll_samples | ( | samplepos_t | ) | const |
|
private |
void ARDOUR::Session::process | ( | pframes_t | nframes | ) |
|
private |
|
inlineprivate |
|
privatevirtual |
Implements ARDOUR::SessionEventManager.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inlineprivate |
|
private |
bool ARDOUR::Session::punch_is_possible | ( | ) | const |
|
virtual |
Implements ARDOUR::SessionEventManager.
|
private |
|
inline |
std::string ARDOUR::Session::raid_path | ( | ) | const |
|
private |
|
private |
|
private |
std::shared_ptr<PBD::Controllable> ARDOUR::Session::recently_touched_controllable | ( | ) | const |
|
private |
|
private |
void ARDOUR::Session::reconnect_ltc_output | ( | ) |
void ARDOUR::Session::reconnect_midi_scene_ports | ( | bool | ) |
void ARDOUR::Session::reconnect_mmc_ports | ( | bool | ) |
|
inline |
bool ARDOUR::Session::record_enabling_legal | ( | ) | const |
|
inline |
|
inline |
void ARDOUR::Session::redo | ( | uint32_t | n | ) |
Redo some transactions.
n | Number of transactions to undo. |
void ARDOUR::Session::refill_all_track_buffers | ( | ) |
void ARDOUR::Session::refresh_disk_space | ( | ) |
void ARDOUR::Session::register_lua_function | ( | const std::string & | , |
const std::string & | , | ||
const LuaScriptParamList & | |||
) |
void ARDOUR::Session::register_with_memento_command_factory | ( | PBD::ID | , |
PBD::StatefulDestructible * | |||
) |
|
inline |
std::vector<std::string> ARDOUR::Session::registered_lua_functions | ( | ) |
|
inline |
void ARDOUR::Session::remove_bundle | ( | std::shared_ptr< Bundle > | ) |
void ARDOUR::Session::remove_dir_from_search_path | ( | const std::string & | path, |
DataType | type | ||
) |
|
private |
int ARDOUR::Session::remove_last_capture | ( | ) |
|
private |
void ARDOUR::Session::remove_pending_capture_state | ( | ) |
|
private |
void ARDOUR::Session::remove_route | ( | std::shared_ptr< Route > | ) |
void ARDOUR::Session::remove_route_group | ( | RouteGroup & | ) |
|
inline |
void ARDOUR::Session::remove_routes | ( | std::shared_ptr< RouteList > | ) |
void ARDOUR::Session::remove_source | ( | std::weak_ptr< Source > | , |
bool | drop_references = true |
||
) |
void ARDOUR::Session::remove_state | ( | std::string | snapshot_name | ) |
|
private |
int ARDOUR::Session::rename | ( | const std::string & | ) |
void ARDOUR::Session::rename_state | ( | std::string | old_name, |
std::string | new_name | ||
) |
void ARDOUR::Session::reorder_route_groups | ( | std::list< RouteGroup * > | ) |
void ARDOUR::Session::request_bounded_roll | ( | samplepos_t | start, |
samplepos_t | end | ||
) |
void ARDOUR::Session::request_cancel_play_range | ( | ) |
void ARDOUR::Session::request_count_in_record | ( | ) |
void ARDOUR::Session::request_default_play_speed | ( | double | speed, |
TransportRequestSource | origin = TRS_UI |
||
) |
void ARDOUR::Session::request_locate | ( | samplepos_t | sample, |
bool | force = false , |
||
LocateTransportDisposition | ltd = RollIfAppropriate , |
||
TransportRequestSource | origin = TRS_UI |
||
) |
void ARDOUR::Session::request_overwrite_buffer | ( | std::shared_ptr< Track > | , |
OverwriteReason | |||
) |
void ARDOUR::Session::request_play_loop | ( | bool | yn, |
bool | leave_rolling = false |
||
) |
void ARDOUR::Session::request_play_range | ( | std::list< TimelineRange > * | , |
bool | leave_rolling = false |
||
) |
void ARDOUR::Session::request_preroll_record_trim | ( | samplepos_t | start, |
samplecnt_t | preroll | ||
) |
void ARDOUR::Session::request_resume_timecode_transmission | ( | ) |
void ARDOUR::Session::request_roll | ( | TransportRequestSource | origin = TRS_UI | ) |
void ARDOUR::Session::request_roll_at_and_return | ( | samplepos_t | start, |
samplepos_t | return_to | ||
) |
void ARDOUR::Session::request_stop | ( | bool | abort = false , |
bool | clear_state = false , |
||
TransportRequestSource | origin = TRS_UI |
||
) |
void ARDOUR::Session::request_suspend_timecode_transmission | ( | ) |
void ARDOUR::Session::request_sync_source | ( | std::shared_ptr< TransportMaster > | ) |
void ARDOUR::Session::request_transport_speed | ( | double | speed, |
TransportRequestSource | origin = TRS_UI |
||
) |
void ARDOUR::Session::request_transport_speed_nonzero | ( | double | , |
TransportRequestSource | origin = TRS_UI |
||
) |
|
inline |
void ARDOUR::Session::reset_monitor_section | ( | ) |
|
private |
|
private |
|
private |
void ARDOUR::Session::reset_transport_speed | ( | TransportRequestSource | origin = TRS_UI | ) |
|
private |
void ARDOUR::Session::reset_xrun_count | ( | ) |
|
private |
void ARDOUR::Session::resort_routes | ( | ) |
|
private |
int ARDOUR::Session::restore_history | ( | std::string | snapshot_name | ) |
int ARDOUR::Session::restore_state | ( | std::string | snapshot_name | ) |
|
private |
|
private |
|
private |
std::shared_ptr<Route> ARDOUR::Session::route_by_name | ( | std::string | ) | const |
std::shared_ptr<Route> ARDOUR::Session::route_by_selected_count | ( | uint32_t | cnt | ) | const |
RouteGroup* ARDOUR::Session::route_group_by_name | ( | std::string | ) |
|
private |
|
inline |
|
private |
|
private |
bool ARDOUR::Session::route_name_internal | ( | std::string | ) | const |
bool ARDOUR::Session::route_name_unique | ( | std::string | ) | const |
|
private |
|
private |
|
private |
|
private |
|
inline |
void ARDOUR::Session::routes_using_input_from | ( | const std::string & | str, |
RouteList & | rl | ||
) |
|
private |
|
private |
|
inline |
|
private |
|
inline |
bool ARDOUR::Session::sample_rate_convert | ( | ImportStatus & | , |
std::string | infile, | ||
std::string & | outfile | ||
) |
void ARDOUR::Session::sample_to_timecode | ( | samplepos_t | sample, |
Timecode::Time & | timecode, | ||
bool | use_offset, | ||
bool | use_subframes | ||
) | const |
|
inline |
int ARDOUR::Session::save_as | ( | SaveAs & | ) |
|
private |
bool ARDOUR::Session::save_default_options | ( | ) |
int ARDOUR::Session::save_history | ( | std::string | snapshot_name = "" | ) |
|
private |
int ARDOUR::Session::save_state | ( | std::string | snapshot_name = "" , |
bool | pending = false , |
||
bool | switch_to_snapshot = false , |
||
bool | template_only = false , |
||
bool | for_archive = false , |
||
bool | only_used_assets = false |
||
) |
save session
snapshot_name | name of the session (use an empty string for the current name) |
pending | save a 'recovery', not full state (default: false) |
switch_to_snapshot | switch to given snapshot after saving (default: false) |
template_only | save a session template (default: false) |
for_archive | save only data relevant for session-archive |
only_used_assets | skip Sources that are not used, mainly useful with for_archive |
int ARDOUR::Session::save_template | ( | const std::string & | template_name, |
const std::string & | description = "" , |
||
bool | replace_existing = false |
||
) |
|
inline |
std::shared_ptr<Port> ARDOUR::Session::scene_input_port | ( | ) | const |
std::shared_ptr<Port> ARDOUR::Session::scene_output_port | ( | ) | const |
|
protectedvirtual |
Implements ARDOUR::TransportAPI.
|
private |
|
private |
gain_t* ARDOUR::Session::scratch_automation_buffer | ( | ) | const |
void ARDOUR::Session::scripts_changed | ( | ) |
|
private |
|
inline |
|
private |
gain_t* ARDOUR::Session::send_gain_automation_buffer | ( | ) | const |
|
private |
|
private |
void ARDOUR::Session::send_ltc_for_cycle | ( | samplepos_t | , |
samplepos_t | , | ||
pframes_t | |||
) |
void ARDOUR::Session::send_mclk_for_cycle | ( | samplepos_t | , |
samplepos_t | , | ||
pframes_t | , | ||
samplecnt_t | |||
) |
|
private |
void ARDOUR::Session::send_mmc_locate | ( | samplepos_t | ) |
|
private |
|
inline |
|
private |
|
staticprivate |
|
static |
|
inline |
void ARDOUR::Session::set_all_tracks_record_enabled | ( | bool | ) |
|
private |
void ARDOUR::Session::set_auto_loop_location | ( | Location * | ) |
void ARDOUR::Session::set_auto_punch_location | ( | Location * | ) |
|
protected |
|
inlinestatic |
void ARDOUR::Session::set_clean | ( | ) |
void ARDOUR::Session::set_control | ( | std::shared_ptr< AutomationControl > | , |
double | val, | ||
PBD::Controllable::GroupControlDisposition | |||
) |
void ARDOUR::Session::set_controls | ( | std::shared_ptr< AutomationControlList > | , |
double | val, | ||
PBD::Controllable::GroupControlDisposition | |||
) |
|
protected |
void ARDOUR::Session::set_deletion_in_progress | ( | ) |
void ARDOUR::Session::set_dirty | ( | ) |
|
inlinestatic |
void ARDOUR::Session::set_exclusive_input_active | ( | std::shared_ptr< RouteList > | rt, |
bool | onoff, | ||
bool | flip_others = false |
||
) |
void ARDOUR::Session::set_had_destructive_tracks | ( | bool | yn | ) |
|
private |
|
inline |
|
privatevirtual |
Implements ARDOUR::SessionEventManager.
void ARDOUR::Session::set_object_selection | ( | Temporal::timepos_t const & | start, |
Temporal::timepos_t const & | end | ||
) |
|
private |
|
private |
|
private |
|
inlineprivate |
void ARDOUR::Session::set_range_selection | ( | Temporal::timepos_t const & | start, |
Temporal::timepos_t const & | end | ||
) |
void ARDOUR::Session::set_requested_return_sample | ( | samplepos_t | return_to | ) |
|
protected |
void ARDOUR::Session::set_session_range_is_free | ( | bool | ) |
|
private |
current snapshot name, without the .ardour suffix
|
privatevirtual |
Implements PBD::Stateful.
|
private |
|
private |
|
protectedvirtual |
Implements ARDOUR::TransportAPI.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protectedvirtual |
Implements ARDOUR::TransportAPI.
|
protectedvirtual |
Implements ARDOUR::TransportAPI.
|
private |
|
private |
std::shared_ptr<PBD::Controllable> ARDOUR::Session::solo_cut_control | ( | ) | const |
void ARDOUR::Session::solo_selection | ( | StripableList & | , |
bool | |||
) |
bool ARDOUR::Session::solo_selection_active | ( | ) |
std::vector<std::string> ARDOUR::Session::source_search_path | ( | DataType | ) | const |
|
private |
|
private |
|
private |
int ARDOUR::Session::start_audio_export | ( | samplepos_t | position, |
bool | realtime = false , |
||
bool | region_export = false |
||
) |
void ARDOUR::Session::start_domain_bounce | ( | Temporal::DomainBounceInfo & | ) |
|
private |
|
private |
|
protectedvirtual |
Implements ARDOUR::TransportAPI.
|
private |
PBD::Command* ARDOUR::Session::stateful_diff_command_factory | ( | XMLNode * | ) |
void ARDOUR::Session::step_back_from_record | ( | ) |
|
private |
|
private |
|
protectedvirtual |
Implements ARDOUR::TransportAPI.
void ARDOUR::Session::store_nth_mixer_scene | ( | size_t | ) |
|
inline |
|
private |
|
private |
|
private |
|
private |
void ARDOUR::Session::sync_time_vars | ( | ) |
bool ARDOUR::Session::synced_to_engine | ( | ) | const |
|
protected |
|
inline |
|
privatevirtual |
Reimplemented from Temporal::TimeDomainProvider.
bool ARDOUR::Session::timecode_drop_frames | ( | ) | const |
void ARDOUR::Session::timecode_duration | ( | samplecnt_t | , |
Timecode::Time & | |||
) | const |
void ARDOUR::Session::timecode_duration_string | ( | char * | , |
size_t | len, | ||
samplecnt_t | |||
) | const |
|
inline |
double ARDOUR::Session::timecode_frames_per_second | ( | ) | const |
void ARDOUR::Session::timecode_time | ( | samplepos_t | when, |
Timecode::Time & | |||
) |
void ARDOUR::Session::timecode_time | ( | Timecode::Time & | ) |
void ARDOUR::Session::timecode_time_subframes | ( | samplepos_t | when, |
Timecode::Time & | |||
) |
void ARDOUR::Session::timecode_to_sample | ( | Timecode::Time & | timecode, |
samplepos_t & | sample, | ||
bool | use_offset, | ||
bool | use_subframes | ||
) | const |
bool ARDOUR::Session::timecode_transmission_suspended | ( | ) | const |
|
inline |
|
private |
bool ARDOUR::Session::transport_locating | ( | ) | const |
bool ARDOUR::Session::transport_locked | ( | ) | const |
std::shared_ptr<TransportMaster> ARDOUR::Session::transport_master | ( | ) | const |
bool ARDOUR::Session::transport_master_is_external | ( | ) | const |
bool ARDOUR::Session::transport_master_no_external_or_using_engine | ( | ) | const |
bool ARDOUR::Session::transport_rolling | ( | ) | const |
|
inline |
double ARDOUR::Session::transport_speed | ( | bool | incl_preroll = false | ) | const |
bool ARDOUR::Session::transport_state_rolling | ( | ) | const |
bool ARDOUR::Session::transport_stopped | ( | ) | const |
bool ARDOUR::Session::transport_stopped_or_stopping | ( | ) | const |
bool ARDOUR::Session::transport_will_roll_forwards | ( | ) | const |
TriggerPtr ARDOUR::Session::trigger_at | ( | int32_t | route_index, |
int32_t | row_index | ||
) | const |
std::shared_ptr<ARDOUR::Trigger> ARDOUR::Session::trigger_by_id | ( | PBD::ID | ) | const |
void ARDOUR::Session::trigger_cue_row | ( | int32_t | ) |
std::shared_ptr<Port> ARDOUR::Session::trigger_input_port | ( | ) | const |
void ARDOUR::Session::trigger_stop_all | ( | bool | now = true | ) |
std::shared_ptr<TriggerBox> ARDOUR::Session::triggerbox_at | ( | int32_t | route_index | ) | const |
gain_t* ARDOUR::Session::trim_automation_buffer | ( | ) | const |
|
private |
bool ARDOUR::Session::unbang_trigger_at | ( | int32_t | route_index, |
int32_t | row_index | ||
) |
|
inlineprivate |
void ARDOUR::Session::undo | ( | uint32_t | n | ) |
Undo some transactions.
n | Number of transactions to undo. |
std::list<std::string> ARDOUR::Session::unknown_processors | ( | ) | const |
bool ARDOUR::Session::unload_io_plugin | ( | std::shared_ptr< IOPlug > | ) |
void ARDOUR::Session::unmark_aux_send_id | ( | uint32_t | ) |
void ARDOUR::Session::unmark_insert_id | ( | uint32_t | ) |
void ARDOUR::Session::unmark_return_id | ( | uint32_t | ) |
void ARDOUR::Session::unmark_send_id | ( | uint32_t | ) |
void ARDOUR::Session::unmark_surround_send_id | ( | uint32_t | ) |
bool ARDOUR::Session::unnamed | ( | ) | const |
|
private |
void ARDOUR::Session::unregister_lua_function | ( | const std::string & | name | ) |
void ARDOUR::Session::unset_dirty | ( | bool | emit_dirty_changed = false | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void ARDOUR::Session::use_rf_shuttle_speed | ( | ) |
|
protectedvirtual |
Implements ARDOUR::TransportAPI.
bool ARDOUR::Session::vapor_barrier | ( | ) |
bool ARDOUR::Session::vapor_export_barrier | ( | ) |
|
inline |
|
inline |
std::shared_ptr<AsyncMIDIPort> ARDOUR::Session::vkbd_output_port | ( | ) | const |
|
static |
int ARDOUR::Session::wipe | ( | ) |
|
inline |
samplecnt_t ARDOUR::Session::worst_latency_preroll | ( | ) | const |
samplecnt_t ARDOUR::Session::worst_latency_preroll_buffer_size_ceil | ( | ) | const |
|
inline |
|
inline |
std::shared_ptr<Region> ARDOUR::Session::write_one_track | ( | Track & | , |
samplepos_t | start, | ||
samplepos_t | end, | ||
bool | overwrite, | ||
std::vector< std::shared_ptr< Source > > & | , | ||
InterThreadInfo & | wot, | ||
std::shared_ptr< Processor > | endpoint, | ||
bool | include_endpoint, | ||
bool | for_export, | ||
bool | for_freeze, | ||
std::string const & | source_name = "" , |
||
std::string const & | region_name = "" |
||
) |
std::shared_ptr<AudioRegion> ARDOUR::Session::XMLAudioRegionFactory | ( | const XMLNode & | , |
bool | full | ||
) |
std::shared_ptr<MidiRegion> ARDOUR::Session::XMLMidiRegionFactory | ( | const XMLNode & | , |
bool | full | ||
) |
|
private |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
mutableprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
mutableprivate |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
mutableprivate |
|
private |
|
private |
|
private |
|
private |
|
mutableprivate |
|
private |
|
private |
|
private |
|
private |
|
mutableprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
mutableprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
static |
|
static |
|
static |
|
static |
|
private |
PBD::Signal1<void,Location*> ARDOUR::Session::auto_loop_location_changed |
PBD::Signal1<void,Location*> ARDOUR::Session::auto_punch_location_changed |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
mutableprivate |
SessionConfiguration ARDOUR::Session::config |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
static |
PBD::TimingStats ARDOUR::Session::dsp_stats[NTT] |
|
static |
|
private |
|
private |
|
private |
|
static |
PBD::Signal0<void> ARDOUR::Session::FBSendsChanged |
|
static |
|
private |
|
private |
|
mutableprivate |
Used in audible_sample.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
PBD::Signal0<void> ARDOUR::Session::Located |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
mutableprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
mutableprivate |
PBD::Signal0<void> ARDOUR::Session::MonitorBusAddedOrRemoved |
|
private |
|
private |
|
private |
PBD::Signal0<void> ARDOUR::Session::MtcOrLtcInputPortChanged |
|
private |
|
static |
|
private |
|
private |
|
private |
ARDOUR::CueMarkers ARDOUR::Session::pending_source_markers |
PBD::Signal1<void,samplepos_t> ARDOUR::Session::PositionChanged |
|
private |
|
private |
|
staticprivate |
PBD::Signal1<int, samplecnt_t> ARDOUR::Session::ProcessExport |
SourceList ARDOUR::Session::pt_imported_sources |
std::vector<struct ptflookup> ARDOUR::Session::ptfwavpair |
|
private |
PBD::Signal0<void> ARDOUR::Session::PunchLoopConstraintChange |
|
static |
|
mutableprivate |
std::map<PBD::ID,PBD::StatefulDestructible*> ARDOUR::Session::registry |
|
private |
PBD::Signal1<void,RouteGroup*> ARDOUR::Session::route_group_added |
PBD::Signal0<void> ARDOUR::Session::route_groups_reordered |
PBD::Signal2<void, RouteGroup *, std::weak_ptr<Route> > ARDOUR::Session::RouteAddedToRouteGroup |
Emitted when a route is added to one of our route groups. First parameter is the RouteGroup, second is the route.
PBD::Signal1<void, RouteGroup *> ARDOUR::Session::RouteGroupPropertyChanged |
Emitted when a property of one of our route groups changes. The parameter is the RouteGroup that has changed.
PBD::Signal2<void, RouteGroup *, std::weak_ptr<Route> > ARDOUR::Session::RouteRemovedFromRouteGroup |
Emitted when a route is removed from one of our route groups. First parameter is the RouteGroup, second is the route.
|
private |
|
static |
|
private |
|
private |
PBD::Signal1<void,std::string> ARDOUR::Session::SaveSessionRequested |
|
private |
|
private |
|
staticprivate |
PBD::Signal0<void> ARDOUR::Session::session_routes_reconnected |
|
private |
|
mutableprivate |
PBD::Signal1< void, std::weak_ptr<Source> > ARDOUR::Session::SourceAdded |
PBD::Signal1< void, std::weak_ptr<Source> > ARDOUR::Session::SourceRemoved |
|
static |
PBD::Signal1<void,std::string> ARDOUR::Session::StateSaved |
PBD::Signal1<void,bool> ARDOUR::Session::StepEditStatusChange |
|
static |
|
private |
PBD::Signal0<void> ARDOUR::Session::SurroundMasterAddedOrRemoved |
PBD::Signal1<void, int> ARDOUR::Session::SurroundObjectCountChanged |
|
private |
|
private |
PBD::Signal0<void> ARDOUR::Session::TransportStateChange |
PBD::Signal0<void> ARDOUR::Session::UpdateRouteRecordState |
|
static |
|
static |
PBD::Signal1<void,samplepos_t> ARDOUR::Session::Xrun |