- bool set_name (const std::string& newname) {
- return (set_source_name(newname, destructive()) == 0);
- }
-
- std::string peak_path (std::string audio_path);
- std::string find_broken_peakfile (std::string missing_peak_path,
- std::string audio_path);
-
- static void set_peak_dir (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;