Merged with trunk R992.
[ardour.git] / libs / ardour / ardour / source_factory.h
index 073532c6abbf88a7c991533986973ac5eb87a9a8..be1551f518f8eb6488a1ff9cc919f9f3aec4767f 100644 (file)
@@ -23,7 +23,10 @@ class SourceFactory {
 
        // MIDI sources will have to be hacked in here somehow
        static boost::shared_ptr<Source> createReadable (DataType type, Session&, std::string idstr, AudioFileSource::Flag flags, bool announce = true);
-       static boost::shared_ptr<Source> createWritable (DataType type, Session&, std::string name, bool destructive, jack_nframes_t rate, bool announce = true);
+       static boost::shared_ptr<Source> createWritable (DataType type, Session&, std::string name, bool destructive, nframes_t rate, bool announce = true);
+
+  private:
+       static int setup_peakfile (boost::shared_ptr<Source>);
 };
 
 }