diff options
author | Robin Gareus <robin@gareus.org> | 2019-09-29 01:24:23 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-09-29 02:44:32 +0200 |
commit | b3a20c762634517ad1160208fcc06ed1e3a4b2b4 (patch) | |
tree | ea0e0a75490ed1d07a87fd17650ff82e902764f2 /gtk2_ardour/utils.h | |
parent | 1c680f116ad3de095496795b160b1c77e37e312c (diff) |
Helper function to format sample-count as duration
Diffstat (limited to 'gtk2_ardour/utils.h')
-rw-r--r-- | gtk2_ardour/utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h index dc7b975cc1..bbf4233398 100644 --- a/gtk2_ardour/utils.h +++ b/gtk2_ardour/utils.h @@ -101,6 +101,7 @@ std::string escape_underscores (std::string const &); Gdk::Color unique_random_color (std::list<Gdk::Color> &); std::string rate_as_string (float r); +std::string samples_as_time_string (ARDOUR::samplecnt_t s, float r, bool show_samples = false); bool windows_overlap (Gtk::Window *a, Gtk::Window *b); |