From c8e3f32533cc6f4481222781d93e7bf7c32ffe5f Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 16 Jul 2010 14:55:11 +0000 Subject: newly created files for use in recording appear in a .stubs folder, and are moved out of it when recording stops git-svn-id: svn://localhost/ardour2/branches/3.0@7426 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/session_directory.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'libs/ardour/ardour/session_directory.h') diff --git a/libs/ardour/ardour/session_directory.h b/libs/ardour/ardour/session_directory.h index ae6aa256cb..bcde4bdf2c 100644 --- a/libs/ardour/ardour/session_directory.h +++ b/libs/ardour/ardour/session_directory.h @@ -51,6 +51,17 @@ public: */ const PBD::sys::path sound_path () const; + /** + * @return the absolute path to the directory in which + * the session stores STUB audio files. + * + * If the session is an older session with an existing + * "sounds" directory then it will return a path to that + * directory otherwise it will return the new location + * of root_path()/interchange/session_name/audiofiles/.stubs + */ + const PBD::sys::path sound_stub_path () const; + /** * @return the absolute path to the directory in which * the session stores MIDI files, ie @@ -58,6 +69,13 @@ public: */ const PBD::sys::path midi_path () const; + /** + * @return the absolute path to the directory in which + * the session stores STUB MIDI files, ie + * root_path()/interchange/session_name/midifiles/.stubs + */ + const PBD::sys::path midi_stub_path () const; + /** * @return the absolute path to the directory in which * the session stores MIDNAM patch files, ie -- cgit v1.2.3