diff options
author | Damien Zammit <damien@zamaudio.com> | 2018-09-28 23:34:29 +1000 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2018-10-07 12:47:33 +1100 |
commit | 9d2baef1f6ee5a536f84d9d67a345d0da6871eab (patch) | |
tree | 97dd0960c685df88ff044f609ac67952a81cb508 /libs/ardour/ardour | |
parent | 16dc3a1613709c7c3e57d5a2f9e5d4834280ee77 (diff) |
PT import: Refactor away from Editor into Session
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/session.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 455a1d6337..f183ad5059 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -41,6 +41,7 @@ #include <glibmm/threads.h> #include <ltc.h> +#include <ptfformat.h> #include "pbd/error.h" #include "pbd/event_loop.h" @@ -302,6 +303,8 @@ public: boost::shared_ptr<RouteList> get_routes_with_internal_returns() const; boost::shared_ptr<RouteList> get_routes_with_regions_at (samplepos_t const) const; + boost::shared_ptr<AudioTrack> get_nth_audio_track (int nth) const; + uint32_t nstripables (bool with_monitor = false) const; uint32_t nroutes() const { return routes.reader()->size(); } uint32_t ntracks () const; @@ -1197,6 +1200,9 @@ public: bool transport_master_is_external() const; boost::shared_ptr<TransportMaster> transport_master() const; + void import_pt (PTFFormat& ptf, ImportStatus& status); + bool import_sndfile_as_region (std::string path, SrcQuality quality, samplepos_t& pos, SourceList& sources, ImportStatus& status); + protected: friend class AudioEngine; void set_block_size (pframes_t nframes); |