X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Flocation_importer.cc;h=281e045ae3d09c9b24c6d83460c3a81c7e1a9ca0;hb=ab4b4934b9155d9f3cdb34fa1e71fbfdb2cf7947;hp=eda636ef71ca01df68fbccff995c12dcf5ddfb03;hpb=f500846fd46d6eab97e5e02fd795b9a938464773;p=ardour.git diff --git a/libs/ardour/location_importer.cc b/libs/ardour/location_importer.cc index eda636ef71..281e045ae3 100644 --- a/libs/ardour/location_importer.cc +++ b/libs/ardour/location_importer.cc @@ -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;