expose more info from plugin-strip (for GUI display)
[ardour.git] / libs / ardour / location_importer.cc
index eda636ef71ca01df68fbccff995c12dcf5ddfb03..281e045ae3d09c9b24c6d83460c3a81c7e1a9ca0 100644 (file)
@@ -104,7 +104,7 @@ LocationImporter::~LocationImporter ()
 string
 LocationImporter::get_info () const
 {
-       nframes_t start, end;
+       framepos_t start, end;
        Timecode::Time start_time, end_time;
 
        // Get sample positions
@@ -114,8 +114,8 @@ LocationImporter::get_info () const
        iss_end >> end;
 
        // Convert to timecode
-       session.sample_to_timecode (start, start_time, false);
-       session.sample_to_timecode (end, end_time, false);
+       session.sample_to_timecode (start, start_time, true, false);
+       session.sample_to_timecode (end, end_time, true, false);
 
        // return info
        std::ostringstream oss;