utils: re-implement used_channels_as_string to use UsedChannels (bitset)

This commit is contained in:
Ben Loftis 2022-02-24 14:30:54 -06:00
parent eced764480
commit 849526b7e7
2 changed files with 27 additions and 28 deletions

View file

@ -109,7 +109,7 @@ 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);
std::string midi_channels_as_string (std::set<uint8_t> const&);
std::string midi_channels_as_string (std::bitset<16>);
bool windows_overlap (Gtk::Window *a, Gtk::Window *b);