mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
Add session-util to create a new empty session
This commit is contained in:
parent
eb928b05e9
commit
476952f2b6
3 changed files with 145 additions and 1 deletions
|
|
@ -25,8 +25,15 @@ namespace SessionUtils {
|
|||
|
||||
/** @param dir Session directory.
|
||||
* @param state Session state file, without .ardour suffix.
|
||||
* @returns an ardour session object (free with \ref unload_session) or NULL
|
||||
*/
|
||||
ARDOUR::Session * load_session (std::string dir, std::string state, bool exit_at_failure = true);
|
||||
ARDOUR::Session* load_session (std::string dir, std::string state, bool exit_at_failure = true);
|
||||
|
||||
/** @param dir Session directory.
|
||||
* @param state Session state file, without .ardour suffix.
|
||||
* @returns an ardour session object (free with \ref unload_session) or NULL on error
|
||||
*/
|
||||
ARDOUR::Session* create_session (std::string dir, std::string state, float sample_rate);
|
||||
|
||||
/** close session and stop engine
|
||||
* @param s Session to close (may me NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue