summaryrefslogtreecommitdiff
path: root/gtk2_ardour/opts.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-02-19 21:04:37 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-02-19 21:04:37 +0000
commit6b459529cefd4c7cba4e00fbb896ca5e3592fd1b (patch)
treecc2d62945ad4278ea71c0dcfb46a077e20d1cb2f /gtk2_ardour/opts.cc
parent0b5b168f0c95c631a4edf858bdb820533a66227f (diff)
mike taht's --sync handling patch
git-svn-id: svn://localhost/ardour2/trunk@1476 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/opts.cc')
-rw-r--r--gtk2_ardour/opts.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk2_ardour/opts.cc b/gtk2_ardour/opts.cc
index 792fde3a10..4c362f0bba 100644
--- a/gtk2_ardour/opts.cc
+++ b/gtk2_ardour/opts.cc
@@ -52,6 +52,7 @@ print_help (const char *execname)
<< _(" -c, --name name Use a specific jack client name, default is ardour\n")
<< _(" -N, --new session-name Create a new session from the command line\n")
<< _(" -O, --no-hw-optimizations Disable h/w specific optimizations\n")
+ << _(" -S, --sync Draw the gui synchronously \n")
#ifdef VST_SUPPORT
<< _(" -V, --novst Do not use VST support\n")
#endif
@@ -67,7 +68,7 @@ int
GTK_ARDOUR::parse_opts (int argc, char *argv[])
{
- const char *optstring = "U:hbvVnOc:C:N:k:";
+ const char *optstring = "U:hSbvVnOc:C:N:k:";
const char *execname = strrchr (argv[0], '/');
if (execname == 0) {
@@ -85,6 +86,7 @@ GTK_ARDOUR::parse_opts (int argc, char *argv[])
{ "novst", 0, 0, 'V' },
{ "new", 1, 0, 'N' },
{ "no-hw-optimizations", 0, 0, 'O' },
+ { "sync", 0, 0, 'O' },
{ "curvetest", 1, 0, 'C' },
{ 0, 0, 0, 0 }
};
@@ -118,6 +120,10 @@ GTK_ARDOUR::parse_opts (int argc, char *argv[])
case 'n':
no_splash = false;
break;
+
+ case 'S':
+ // ; just pass this through to gtk it will figure it out
+ break;
case 'N':
new_session = true;