diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-25 14:42:46 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-25 14:42:46 +0000 |
commit | de5e463904de7b58218a5bb1e9080ba5353bb985 (patch) | |
tree | 73088a0660bf521b57c784da47e7bff4e5a1084b /gtk2_ardour | |
parent | e0a2d498696eac65380eee8ff1ca0e29ec4c0783 (diff) |
make per-region note-tracking in MidiPlaylist work correctly, or something very close to it. note that locking isssues remain when regions (and thus note trackers) are removed
git-svn-id: svn://localhost/ardour2/branches/3.0@5912 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/opts.cc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gtk2_ardour/opts.cc b/gtk2_ardour/opts.cc index 462a8ae7d5..ee198cab22 100644 --- a/gtk2_ardour/opts.cc +++ b/gtk2_ardour/opts.cc @@ -77,9 +77,10 @@ print_help (const char *execname) static void list_debug_options () { - cerr << _("The following debug options are available. Their use is case-insensitive.") << "\n\n"; + cerr << _("The following debug options are available. Separate multipe options with commas. Names are case-insensitive.") << "\n\n"; cerr << "\tMidiSourceIO\n"; cerr << "\tMidiPlaylistIO\n"; + cerr << "\tMidiDiskstreamIO\n"; } static int @@ -99,12 +100,21 @@ parse_debug_options (const char* str) return 1; } + if (strcasecmp (p, "all") == 0) { + ARDOUR::set_debug_bits (~0ULL); + free (copy); + return 0; + } + if (strcasecmp (p, "midisourceio") == 0) { bits |= ARDOUR::DEBUG::MidiSourceIO; } if (strcasecmp (p, "midiplaylistio") == 0) { bits |= ARDOUR::DEBUG::MidiPlaylistIO; } + if (strcasecmp (p, "mididiskstreamio") == 0) { + bits |= ARDOUR::DEBUG::MidiDiskstreamIO; + } p = strtok_r (0, ",", &sp); } |