ardour
|
#include <audio_track_importer.h>
Public Member Functions | |
AudioTrackImporter (XMLTree const &source, Session &session, AudioTrackImportHandler &track_handler, XMLNode const &node, AudioPlaylistImportHandler &pl_handler) | |
~AudioTrackImporter () | |
std::string | get_info () const |
Public Member Functions inherited from ARDOUR::ElementImporter | |
ElementImporter (XMLTree const &source, ARDOUR::Session &session) | |
virtual | ~ElementImporter () |
virtual std::string | get_name () const |
virtual ImportStatus * | get_import_status () |
bool | prepare_move () |
void | cancel_move () |
void | move () |
Moves the element to the taget session. More... | |
bool | broken () |
Check if element is broken. Cannot be moved if broken. More... | |
Protected Member Functions | |
bool | _prepare_move () |
void | _cancel_move () |
Cancel move. More... | |
void | _move () |
Protected Member Functions inherited from ARDOUR::ElementImporter | |
bool | queued () |
Ture if the element has been prepared and queued for importing. More... | |
std::string | timecode_to_string (Timecode::Time &time) const |
Converts timecode time to a string. More... | |
framecnt_t | rate_convert_samples (framecnt_t samples) const |
Converts samples so that times match the sessions sample rate. More... | |
std::string | rate_convert_samples (std::string const &samples) const |
Converts samples so that times match the sessions sample rate (for straight use in XML) More... | |
void | set_broken () |
Set element broken. More... | |
Private Types | |
typedef boost::shared_ptr < AudioPlaylistImporter > | PlaylistPtr |
typedef std::list< PlaylistPtr > | PlaylistList |
Private Member Functions | |
bool | parse_route_xml () |
bool | parse_io () |
bool | parse_processor (XMLNode &node) |
bool | parse_controllable (XMLNode &node) |
bool | parse_automation (XMLNode &node) |
bool | rate_convert_events (XMLNode &node) |
Private Attributes | |
AudioTrackImportHandler & | track_handler |
XMLNode | xml_track |
PBD::ID | old_ds_id |
PBD::ID | new_ds_id |
PlaylistList | playlists |
AudioPlaylistImportHandler & | pl_handler |
Additional Inherited Members | |
Static Public Attributes inherited from ARDOUR::ElementImporter | |
static PBD::Signal2< std::pair < bool, std::string > , std::string, std::string > | Rename |
Signal that requests for anew name. More... | |
static PBD::Signal1< bool, std::string > | Prompt |
Signal for ok/cancel prompting. More... | |
Protected Attributes inherited from ARDOUR::ElementImporter | |
XMLTree const & | source |
Source XML-tree. More... | |
ARDOUR::Session & | session |
Target session. More... | |
std::string | name |
Name of element. More... | |
framecnt_t | sample_rate |
The sample rate of the session from which we are importing. More... | |
Definition at line 46 of file audio_track_importer.h.
|
private |
Definition at line 66 of file audio_track_importer.h.
Definition at line 65 of file audio_track_importer.h.
AudioTrackImporter::AudioTrackImporter | ( | XMLTree const & | source, |
Session & | session, | ||
AudioTrackImportHandler & | track_handler, | ||
XMLNode const & | node, | ||
AudioPlaylistImportHandler & | pl_handler | ||
) |
Definition at line 74 of file audio_track_importer.cc.
AudioTrackImporter::~AudioTrackImporter | ( | ) |
Definition at line 108 of file audio_track_importer.cc.
|
protectedvirtual |
Cancel move.
Implements ARDOUR::ElementImporter.
Definition at line 271 of file audio_track_importer.cc.
|
protectedvirtual |
Moves the element to the taget session In addition to actually adding the element to the session changing ids, renaming files etc. should be taken care of.
Implements ARDOUR::ElementImporter.
Definition at line 278 of file audio_track_importer.cc.
|
protectedvirtual |
Implements ARDOUR::ElementImporter.
Definition at line 227 of file audio_track_importer.cc.
|
virtual |
Gets a textual representation of the element
Implements ARDOUR::ElementImporter.
Definition at line 219 of file audio_track_importer.cc.
|
private |
Definition at line 341 of file audio_track_importer.cc.
|
private |
Definition at line 326 of file audio_track_importer.cc.
|
private |
Definition at line 149 of file audio_track_importer.cc.
|
private |
Definition at line 315 of file audio_track_importer.cc.
|
private |
Definition at line 114 of file audio_track_importer.cc.
|
private |
Definition at line 362 of file audio_track_importer.cc.
|
private |
Definition at line 80 of file audio_track_importer.h.
|
private |
Definition at line 79 of file audio_track_importer.h.
|
private |
Definition at line 83 of file audio_track_importer.h.
|
private |
Definition at line 82 of file audio_track_importer.h.
|
private |
Definition at line 76 of file audio_track_importer.h.
|
private |
Definition at line 77 of file audio_track_importer.h.