Remove unused fluidsynth setting (since fluidsynth 2.0)
[ardour.git] / libs / ardour / audio_track_importer.cc
index 500f1c1af7b1628517eb55292bae88199fc952f9..4b145e1a9d4fc64da9699fc66d82cc944473be1c 100644 (file)
@@ -55,7 +55,7 @@ AudioTrackImportHandler::AudioTrackImportHandler (XMLTree const & source, Sessio
                if ( (!type || type->value() == "audio") &&  ((*it)->property ("diskstream") != 0 || (*it)->property ("diskstream-id") != 0)) {
                        try {
                                elements.push_back (ElementPtr ( new AudioTrackImporter (source, session, *this, **it, pl_handler)));
-                       } catch (failed_constructor err) {
+                       } catch (failed_constructor const&) {
                                set_dirty();
                        }
                }
@@ -377,7 +377,7 @@ AudioTrackImporter::rate_convert_events (XMLNode & node)
        std::stringstream str (content_node->content());
        std::ostringstream new_content;
 
-       framecnt_t x;
+       samplecnt_t x;
        double y;
        bool ok = true;