Move all beats <-> frames time conversion into a single object that can be passed...
[ardour.git] / libs / ardour / ardour / utils.h
index cde17d8b492cdd9aa7add37efcc9700887cf1cec..eecde2e85f0bc37c80bad475955bcbab6b1f9fc3 100644 (file)
@@ -45,12 +45,14 @@ static inline float f_max(float x, float a) {
        return (x);
 }
 
+std::string bump_name_once(std::string s);
+
 int cmp_nocase (const std::string& s, const std::string& s2);
 
 int touch_file(Glib::ustring path);
 
 Glib::ustring path_expand (Glib::ustring);
-Glib::ustring region_name_from_path (Glib::ustring path, bool strip_channels);
+Glib::ustring region_name_from_path (Glib::ustring path, bool strip_channels, bool add_channel_suffix = false, uint32_t total = 0, uint32_t this_one = 0);
 bool path_is_paired (Glib::ustring path, Glib::ustring& pair_base);
 
 void compute_equal_power_fades (nframes_t nframes, float* in, float* out);