mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
Add SessionDirectory::export_path and make sure it gets created in SessionDirectory::create
git-svn-id: svn://localhost/ardour2/trunk@1878 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e36ac4fd22
commit
f160408d4b
2 changed files with 13 additions and 0 deletions
|
|
@ -67,6 +67,12 @@ public:
|
|||
*/
|
||||
const path dead_sound_path () const;
|
||||
|
||||
/**
|
||||
* @return The absolute path to the directory that audio
|
||||
* files are created in by default when exporting.
|
||||
*/
|
||||
const path export_path () const;
|
||||
|
||||
/**
|
||||
* @return true if session directory and all the required
|
||||
* subdirectories exist.
|
||||
|
|
|
|||
|
|
@ -111,6 +111,12 @@ SessionDirectory::dead_sound_path () const
|
|||
return path(m_root_path) /= dead_sound_dir_name;
|
||||
}
|
||||
|
||||
const path
|
||||
SessionDirectory::export_path () const
|
||||
{
|
||||
return path(m_root_path) /= export_dir_name;
|
||||
}
|
||||
|
||||
const vector<path>
|
||||
SessionDirectory::sub_directories () const
|
||||
{
|
||||
|
|
@ -119,6 +125,7 @@ SessionDirectory::sub_directories () const
|
|||
tmp_paths.push_back ( sound_path () );
|
||||
tmp_paths.push_back ( peak_path () );
|
||||
tmp_paths.push_back ( dead_sound_path () );
|
||||
tmp_paths.push_back ( export_path () );
|
||||
|
||||
return tmp_paths;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue