#include #include #include #include #include "ardour/audioengine.h" #include "ardour/filename_extensions.h" #include "ardour/template_utils.h" #include "common.h" using namespace std; using namespace ARDOUR; using namespace SessionUtils; static void usage (int status) { // help2man compatible format (standard GNU help-text) printf (UTILNAME " - create a new session from the commandline.\n\n"); printf ("Usage: " UTILNAME " [ OPTIONS ] [session-name]\n\n"); printf ("Options:\n\ -L, --list-templates List available templates and exit\n\ -h, --help Display this help and exit\n\ -m, --master-channels Master-bus channel count (default 2)\n\ -s, --samplerate Samplerate to use (default 48000)\n\ -t, --template