diff options
author | Damien Zammit <damien@zamaudio.com> | 2018-10-10 20:17:57 +1100 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2018-10-12 19:09:40 +1100 |
commit | 3fd7f9478faf1be8b76b7bd1614917fc2aaf778c (patch) | |
tree | 949a2551f833b6cd137b074ae5ee89039d48797e /libs/ardour/ardour/session.h | |
parent | 244098cb400da1666147363d6959eeee3f6595bf (diff) |
PT import: Minor changes to session
Diffstat (limited to 'libs/ardour/ardour/session.h')
-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 e63c68f604..786bb195ab 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; @@ -1198,6 +1201,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); |