no need to close a file that will not be removed (and has no name)
[ardour.git] / libs / audiographer / audiographer / sndfile / sndfile.h
index 4db2298a906cc004c4bb63331d5311be737d9bc0..939e5f8a2ce9298850a29a03a4edf44dc650b148 100644 (file)
@@ -16,7 +16,7 @@ class Sndfile : public SndfileWriter<T>, public SndfileReader<T>
   public:
        
        Sndfile (std::string const & filename, SndfileBase::Mode mode = SndfileBase::ReadWrite, int format = 0,
-                ChannelCount channels = 0, nframes_t samplerate = 0)
+                ChannelCount channels = 0, framecnt_t samplerate = 0)
          : SndfileHandle (filename, mode, format, channels, samplerate)
        {}
        
@@ -27,4 +27,4 @@ class Sndfile : public SndfileWriter<T>, public SndfileReader<T>
 
 } // namespace
 
-#endif // AUDIOGRAPHER_SNDFILE_H
\ No newline at end of file
+#endif // AUDIOGRAPHER_SNDFILE_H