Trigger clip picker: allow auto-audition on selection

This commit is contained in:
Robin Gareus 2022-01-11 00:43:39 +01:00
parent 806f62ffe6
commit a48d9a31bc
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 47 additions and 6 deletions

View file

@ -50,6 +50,7 @@ private:
void refill_dropdown ();
void parameter_changed (std::string const&);
void row_selected ();
void cursor_changed ();
void row_activated (Gtk::TreeModel::Path const&, Gtk::TreeViewColumn*);
bool test_expand (Gtk::TreeModel::iterator const&, Gtk::TreeModel::Path const&);
void row_collapsed (Gtk::TreeModel::iterator const&, Gtk::TreeModel::Path const&);
@ -60,6 +61,7 @@ private:
void audition_active (bool);
void audition_progress (ARDOUR::samplecnt_t, ARDOUR::samplecnt_t);
void stop_audition ();
void autoplay_toggled ();
bool seek_button_press (GdkEventButton*);
bool seek_button_release (GdkEventButton*);
@ -88,6 +90,7 @@ private:
Gtk::Button _play_btn;
Gtk::Button _stop_btn;
Gtk::HScale _seek_slider;
Gtk::CheckButton _autoplay_btn;
std::string _current_path;