remove reference "const int32_t&" -> const int32_t"
[ardour.git] / libs / ardour / ardour / audiofilesource.h
index da4f9aaea5e520e1d2d086f2aaf45eb24fc8ce72..d91280284de7d766e94ff1444311a5f09c03a1dc 100644 (file)
@@ -39,11 +39,7 @@ class LIBARDOUR_API AudioFileSource : public AudioSource, public FileSource {
 public:
        virtual ~AudioFileSource ();
 
-       std::string construct_peak_filepath (const std::string& audio_filepath) const;
-       std::string find_broken_peakfile (const std::string& missing_peak_path,
-                                         const std::string& audio_path);
-
-       static void set_peak_dir (const std::string& dir) { peak_dir = dir; }
+       std::string construct_peak_filepath (const std::string& audio_path, const bool in_session = false, const bool old_peak_name = false) const;
 
        static bool get_soundfile_info (const std::string& path, SoundFileInfo& _info, std::string& error);
 
@@ -109,18 +105,12 @@ protected:
 
        static Sample* get_interleave_buffer (framecnt_t size);
 
-       static std::string peak_dir;
-
        static char bwf_country_code[3];
        static char bwf_organization_code[4];
        static char bwf_serial_number[13];
 
        /** Kept up to date with the position of the session location start */
        static framecnt_t header_position_offset;
-
-  private:
-       std::string old_peak_path (const std::string& audio_path);
-       std::string broken_peak_path (const std::string& audio_path);
 };
 
 } // namespace ARDOUR