|
Ardour
9.7-263-ged686abfc7
|
#include <source.h>
Public Types | |
| enum | Flag { Writable = 0x1 , CanRename = 0x2 , Broadcast = 0x4 , Removable = 0x8 , RemovableIfEmpty = 0x10 , RemoveAtDestroy = 0x20 , NoPeakFile = 0x40 , Destructive = 0x80 , Empty = 0x100 , RF64_RIFF = 0x200 , Missing = 0x400 } |
| typedef PBD::RWLock::ReaderLock | ReaderLock |
| typedef PBD::RWLock::WriterLock | WriterLock |
Public Attributes | |
| PBD::Signal< void()> | AnalysisChanged |
| AnalysisFeatureList | transients |
| PBD::Signal< void()> | CueMarkersChanged |
Public Attributes inherited from PBD::Stateful | |
| PBD::Signal< void(const PropertyChange &)> | PropertyChanged |
Public Attributes inherited from PBD::Destructible | |
| PBD::Signal< void()> | Destroyed |
| PBD::Signal< void()> | DropReferences |
Static Public Attributes | |
| static PBD::Signal< void(Source *)> | SourceCreated |
Static Public Attributes inherited from PBD::Stateful | |
| static int | current_state_version |
| static int | loading_state_version |
Protected Types | |
| typedef std::vector< SegmentDescriptor > | SegmentDescriptors |
Protected Attributes | |
| DataType | _type |
| Flag | _flags |
| time_t | _timestamp |
| std::string | _take_id |
| timepos_t | _natural_position |
| bool | _have_natural_position |
| bool | _analysed |
| std::atomic< int > | _use_count |
| uint32_t | _level |
| std::string | _ancestor_name |
| std::string | _captured_for |
| timepos_t | _length |
| XrunPositions | _xruns |
| CueMarkers | _cue_markers |
| SegmentDescriptors | segment_descriptors |
| PBD::RWLock | _lock |
| PBD::Mutex | _analysis_lock |
Protected Attributes inherited from ARDOUR::SessionObject | |
| PBD::Property< std::string > | _name |
Protected Attributes inherited from ARDOUR::SessionHandleRef | |
| ARDOUR::Session & | _session |
Protected Attributes inherited from PBD::Stateful | |
| XMLNode * | _extra_xml |
| XMLNode * | _instant_xml |
| PBD::PropertyChange | _pending_changed |
| PBD::Mutex | _lock |
| std::string | _xml_node_name |
| name of node to use for this object in XML More... | |
| OwnedPropertyList * | _properties |
Private Member Functions | |
| void | fix_writable_flags () |
| XMLNode & | get_cue_state () const |
| int | set_cue_state (XMLNode const &, int) |
Additional Inherited Members | |
Static Public Member Functions inherited from ARDOUR::SessionObject | |
| static void | make_property_quarks () |
Static Public Member Functions inherited from PBD::Destructible | |
| static void | drop_and_kill (Destructible *d) |
Static Public Member Functions inherited from ARDOUR::ScaleProvider | |
| static void | make_property_quarks () |
Protected Member Functions inherited from ARDOUR::SessionHandleRef | |
| virtual void | session_going_away () |
| virtual void | insanity_check () |
Protected Member Functions inherited from PBD::Stateful | |
| 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 |
Definition at line 43 of file ardour/ardour/source.h.
Definition at line 63 of file ardour/ardour/source.h.
|
protected |
Definition at line 178 of file ardour/ardour/source.h.
Definition at line 64 of file ardour/ardour/source.h.
| enum ARDOUR::Source::Flag |
| Enumerator | |
|---|---|
| Writable | |
| CanRename | |
| Broadcast | |
| Removable | |
| RemovableIfEmpty | |
| RemoveAtDestroy | |
| NoPeakFile | |
| Destructive | |
| Empty | |
| RF64_RIFF | |
| Missing | |
Definition at line 48 of file ardour/ardour/source.h.
| ARDOUR::Source::Source | ( | Session & | , |
| DataType | type, | ||
| const std::string & | name, | ||
| Flag | flags = Flag(0) |
||
| ) |
|
virtual |
| bool ARDOUR::Source::add_cue_marker | ( | CueMarker const & | ) |
|
inline |
Definition at line 151 of file ardour/ardour/source.h.
|
inlinevirtual |
Reimplemented in ARDOUR::SrcFileSource, ARDOUR::SilentFileSource, ARDOUR::AudioFileSource, and ARDOUR::AudioPlaylistSource.
Definition at line 106 of file ardour/ardour/source.h.
|
inline |
Definition at line 155 of file ardour/ardour/source.h.
|
inline |
Definition at line 117 of file ardour/ardour/source.h.
|
virtual |
| bool ARDOUR::Source::clear_cue_markers | ( | ) |
| void ARDOUR::Source::copy_segment_descriptors | ( | Source const & | other | ) |
|
inline |
Definition at line 121 of file ardour/ardour/source.h.
|
virtual |
|
virtual |
Reimplemented in ARDOUR::AudioPlaylistSource.
|
private |
|
inline |
Definition at line 142 of file ardour/ardour/source.h.
|
private |
| bool ARDOUR::Source::get_segment_descriptor | ( | TimelineRange const & | , |
| SegmentDescriptor & | |||
| ) |
|
virtual |
Reimplemented from ARDOUR::ScaleProvider.
| std::string ARDOUR::Source::get_transients_path | ( | ) | const |
| bool ARDOUR::Source::has_been_analysed | ( | ) | const |
|
inline |
Definition at line 132 of file ardour/ardour/source.h.
|
virtual |
|
inlinevirtual |
Reimplemented in ARDOUR::SrcFileSource.
Definition at line 76 of file ardour/ardour/source.h.
|
inlinevirtual |
Reimplemented in ARDOUR::MidiSource.
Definition at line 101 of file ardour/ardour/source.h.
|
inline |
Definition at line 149 of file ardour/ardour/source.h.
| int ARDOUR::Source::load_transients | ( | const std::string & | ) |
| void ARDOUR::Source::mark_for_remove | ( | ) |
|
pure virtual |
Implemented in ARDOUR::SMFSource, ARDOUR::MidiSource, ARDOUR::AudioSource, and ARDOUR::AudioFileSource.
|
inlinevirtual |
Reimplemented in ARDOUR::MidiSource.
Definition at line 86 of file ardour/ardour/source.h.
| bool ARDOUR::Source::move_cue_marker | ( | CueMarker const & | , |
| timepos_t const & | source_relative_position | ||
| ) |
|
inline |
Definition at line 141 of file ardour/ardour/source.h.
|
inline |
Definition at line 116 of file ardour/ardour/source.h.
|
inlinevirtual |
Reimplemented in ARDOUR::SrcFileSource.
Definition at line 129 of file ardour/ardour/source.h.
| bool ARDOUR::Source::remove_cue_marker | ( | CueMarker const & | ) |
| bool ARDOUR::Source::rename_cue_marker | ( | CueMarker & | , |
| std::string const & | |||
| ) |
|
inlinevirtual |
Reimplemented in ARDOUR::MidiSource.
Definition at line 94 of file ardour/ardour/source.h.
| void ARDOUR::Source::set_allow_remove_if_empty | ( | bool | yn | ) |
|
inline |
Definition at line 152 of file ardour/ardour/source.h.
|
virtual |
|
inline |
Definition at line 154 of file ardour/ardour/source.h.
| void ARDOUR::Source::set_captured_marks | ( | CueMarkers const & | marks | ) |
|
inline |
Definition at line 118 of file ardour/ardour/source.h.
|
private |
|
virtual |
Reimplemented in ARDOUR::SndFileSource.
| int ARDOUR::Source::set_segment_descriptor | ( | SegmentDescriptor const & | , |
| bool | replace = false |
||
| ) |
|
virtual |
Reimplemented from ARDOUR::ScaleProvider.
|
inline |
Definition at line 81 of file ardour/ardour/source.h.
|
inline |
Definition at line 74 of file ardour/ardour/source.h.
|
inline |
Definition at line 82 of file ardour/ardour/source.h.
|
inline |
Definition at line 73 of file ardour/ardour/source.h.
|
inline |
Definition at line 71 of file ardour/ardour/source.h.
|
inlinevirtual |
Reimplemented in ARDOUR::SMFSource, and ARDOUR::AudioSource.
Definition at line 79 of file ardour/ardour/source.h.
|
inline |
Definition at line 146 of file ardour/ardour/source.h.
|
inline |
Definition at line 147 of file ardour/ardour/source.h.
| bool ARDOUR::Source::writable | ( | ) | const |
|
protected |
Definition at line 169 of file ardour/ardour/source.h.
|
mutableprotected |
Definition at line 182 of file ardour/ardour/source.h.
|
protected |
Definition at line 172 of file ardour/ardour/source.h.
|
protected |
Definition at line 173 of file ardour/ardour/source.h.
|
protected |
Definition at line 176 of file ardour/ardour/source.h.
|
protected |
Definition at line 164 of file ardour/ardour/source.h.
|
protected |
Definition at line 168 of file ardour/ardour/source.h.
|
protected |
Definition at line 174 of file ardour/ardour/source.h.
|
protected |
Definition at line 171 of file ardour/ardour/source.h.
|
mutableprotected |
Definition at line 181 of file ardour/ardour/source.h.
|
protected |
Definition at line 167 of file ardour/ardour/source.h.
|
protected |
Definition at line 166 of file ardour/ardour/source.h.
|
protected |
Definition at line 165 of file ardour/ardour/source.h.
|
protected |
Definition at line 163 of file ardour/ardour/source.h.
|
protected |
Definition at line 170 of file ardour/ardour/source.h.
|
protected |
Definition at line 175 of file ardour/ardour/source.h.
| PBD::Signal<void()> ARDOUR::Source::AnalysisChanged |
Definition at line 110 of file ardour/ardour/source.h.
| PBD::Signal<void()> ARDOUR::Source::CueMarkersChanged |
Definition at line 127 of file ardour/ardour/source.h.
|
protected |
Definition at line 179 of file ardour/ardour/source.h.
|
static |
Definition at line 103 of file ardour/ardour/source.h.
| AnalysisFeatureList ARDOUR::Source::transients |
Definition at line 112 of file ardour/ardour/source.h.