expose more info from plugin-strip (for GUI display)
[ardour.git] / libs / ardour / location_importer.cc
index 8d6af300ca597d746dc2a7f0a4a9067323f988a7..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
@@ -133,7 +133,7 @@ bool
 LocationImporter::_prepare_move ()
 {
        try {
-               Location const original (xml_location);
+               Location const original (session, xml_location);
                location = new Location (original); // Updates id
        } catch (failed_constructor& err) {
                throw std::runtime_error (X_("Error in session file!"));