diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-07-06 03:11:52 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-07-06 03:11:52 +0000 |
commit | 1516d52ffab61cb0e117f1829ede387e2d2eb021 (patch) | |
tree | 964442d73efa1774798501936ff9aaab8a370234 /gtk2_ardour/editor_audio_import.cc | |
parent | 65438f0fe4abb11ce0d039f6bbd7cd74696cae9c (diff) |
new automation interval configuration variable, to control automation snapshot time resolution (for oofus to test); patch for cancellingmulti-file import; minor code cleanups; use boost::fast_pool_allocator for automation lists (may revert later)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2117 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_audio_import.cc')
-rw-r--r-- | gtk2_ardour/editor_audio_import.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_audio_import.cc b/gtk2_ardour/editor_audio_import.cc index 2f63de340e..5a70425480 100644 --- a/gtk2_ardour/editor_audio_import.cc +++ b/gtk2_ardour/editor_audio_import.cc @@ -350,7 +350,9 @@ Editor::embed_sndfile (vector<Glib::ustring> paths, bool split, bool multiple_fi switch (resx) { case 0: /* stop a multi-file import */ - case 1: /* don't import this one */ + ret = -2; + goto out; + case 1: /* don't embed this one */ ret = -1; goto out; case 2: /* do it, and the rest without asking */ |