summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/session.h')
-rw-r--r--libs/ardour/ardour/session.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h
index 6e7ec93dec..70e3c7df38 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);