Modified version of Hans' patch for mantis 1985. Also remove unused port_connections...
[ardour.git] / libs / ardour / sndfileimportable.cc
index eb0e8a8afbcde6345b6f777ebc215f17af9db6ef..3328eddb23e916290822a1a1d10db4f9032fd7a3 100644 (file)
@@ -1,5 +1,6 @@
-#include <ardour/sndfileimportable.h>
+#include "ardour/sndfileimportable.h"
 #include <sndfile.h>
+#include <iostream>
 
 using namespace ARDOUR;
 using namespace std;
@@ -41,7 +42,7 @@ SndFileImportableSource::samplerate() const
 }
 
 void
-SndFileImportableSource::seek (nframes_t pos)
+SndFileImportableSource::seek (nframes_t /*pos*/)
 {
        sf_seek (in.get(), 0, SEEK_SET);
 }