ignore "external timecode is sync locked" for non timecode slaves.
[ardour.git] / libs / ardour / audiofilesource.cc
index 2486d45ca1c21cd13983af534a4ea540fb2a9e2d..13b03f8f4828fdaa3998ef7b09b7c4938d89eb00 100644 (file)
@@ -95,8 +95,6 @@ AudioFileSource::AudioFileSource (Session& s, const string& path, Source::Flag f
           /* note that external files have their own path as "origin" */
        , FileSource (s, DataType::AUDIO, path, path, flags)
 {
-        /* note that origin remains empty */
-
        if (init (_path, true)) {
                throw failed_constructor ();
        }
@@ -322,7 +320,7 @@ int
 AudioFileSource::setup_peakfile ()
 {
        if (!(_flags & NoPeakFile)) {
-               return initialize_peakfile (_file_is_new, _path);
+               return initialize_peakfile (_path);
        } else {
                return 0;
        }