blob: 044d40e17c7b99e13d4a4e3ab6100f7e4e20f6eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include <iostream>
#include <cstdlib>
#include "common.h"
using namespace std;
using namespace ARDOUR;
using namespace SessionUtils;
int main (int argc, char* argv[])
{
SessionUtils::init();
Session* s = 0;
s = SessionUtils::load_session (
"/home/rgareus/Documents/ArdourSessions/TestA/",
"TestA"
);
printf ("SESSION INFO: routes: %lu\n", s->get_routes()->size ());
sleep(2);
//s->save_state ("");
SessionUtils::unload_session(s);
SessionUtils::cleanup();
return 0;
}
|