diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-09-16 16:11:26 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-09-16 16:11:26 +0000 |
commit | 8e00b86ebb0b6e3fd489b4cac58863d7c16465db (patch) | |
tree | 27e602cbd16a9c948728b578df112b78f0d62c12 /gtk2_ardour/editor_audio_import.cc | |
parent | 084dda86a7c4391aba4e9f37f752af4846ded15d (diff) |
make resampled sources (during import) report their "natural position" (i.e. BWF timecode) using the samplerate of the session, not the original source, for correct positioning; minor frame{pos,cnt}_t cleanup
git-svn-id: svn://localhost/ardour2/branches/3.0@7785 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, 0 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_audio_import.cc b/gtk2_ardour/editor_audio_import.cc index c1d51e11a4..db470fbe64 100644 --- a/gtk2_ardour/editor_audio_import.cc +++ b/gtk2_ardour/editor_audio_import.cc @@ -827,20 +827,16 @@ Editor::add_sources (vector<string> paths, SourceList& sources, nframes64_t& pos if (as->natural_position() != 0) { pos = as->natural_position(); - cerr << "\tgot " << pos << " from source TC info\n"; } else if (target_tracks == 1) { /* hmm, no timestamp available, put it after the previous region */ if (n == 0) { pos = get_preferred_edit_position (); - cerr << "\tno timestamp, first file, use edit pos = " << pos << endl; } else { pos += rlen; - cerr << "\tpacked-sequence-shuffle to " << pos << endl; } } else { pos = get_preferred_edit_position (); - cerr << "\tmultitracks, using edit position = " << pos << endl; } } |