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);
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