- bool set_name (const std::string& newname) {
- return (set_source_name(newname, destructive()) == 0);
- }
- int set_source_name (Glib::ustring newname, bool destructive);
-
- Glib::ustring path() const { return _path; }
- Glib::ustring peak_path (Glib::ustring audio_path);
- Glib::ustring find_broken_peakfile (Glib::ustring missing_peak_path,
- Glib::ustring audio_path);
-
- uint16_t channel() const { return _channel; }
-
- static void set_peak_dir (Glib::ustring dir) { peak_dir = dir; }
+ 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);