summaryrefslogtreecommitdiff
path: root/gtk2_ardour/opts.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-10-27 02:24:56 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-10-27 02:24:56 +0000
commit68a3144344ab0e103539ee27b9f95324f45dcbe7 (patch)
treee554abed86f8821ddd90c3ca9c905a6c25290785 /gtk2_ardour/opts.cc
parent9ad08bfe973c72f2d73fae2be786d99efdc20a26 (diff)
new SnapBBT debug option, split out BBT_time and start work on BBT arithmetic framework. this will cause a full recompile, so find something else to do
git-svn-id: svn://localhost/ardour2/branches/3.0@5936 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/opts.cc')
-rw-r--r--gtk2_ardour/opts.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk2_ardour/opts.cc b/gtk2_ardour/opts.cc
index ee198cab22..153dbfe56a 100644
--- a/gtk2_ardour/opts.cc
+++ b/gtk2_ardour/opts.cc
@@ -81,6 +81,7 @@ list_debug_options ()
cerr << "\tMidiSourceIO\n";
cerr << "\tMidiPlaylistIO\n";
cerr << "\tMidiDiskstreamIO\n";
+ cerr << "\tSnapBBT\n";
}
static int
@@ -108,12 +109,12 @@ parse_debug_options (const char* str)
if (strcasecmp (p, "midisourceio") == 0) {
bits |= ARDOUR::DEBUG::MidiSourceIO;
- }
- if (strcasecmp (p, "midiplaylistio") == 0) {
+ } else if (strcasecmp (p, "midiplaylistio") == 0) {
bits |= ARDOUR::DEBUG::MidiPlaylistIO;
- }
- if (strcasecmp (p, "mididiskstreamio") == 0) {
+ } else if (strcasecmp (p, "mididiskstreamio") == 0) {
bits |= ARDOUR::DEBUG::MidiDiskstreamIO;
+ } else if (strcasecmp (p, "snapbbt") == 0) {
+ bits |= ARDOUR::DEBUG::SnapBBT;
}
p = strtok_r (0, ",", &sp);