X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Frhythm_ferret.h;h=5f14509a184a1bca2e90ecf63c910c37ebcc4f83;hb=7a524285385d4581ad3f1e085629379e32f82fda;hp=d302226dd905a99c43abab613f652b090fa5a731;hpb=bcab83205b07559f6eb404b03c3be43acb5fbbf9;p=ardour.git diff --git a/gtk2_ardour/rhythm_ferret.h b/gtk2_ardour/rhythm_ferret.h index d302226dd9..5f14509a18 100644 --- a/gtk2_ardour/rhythm_ferret.h +++ b/gtk2_ardour/rhythm_ferret.h @@ -40,11 +40,12 @@ namespace ARDOUR { class Editor; class RegionView; -class RhythmFerret : public ArdourDialog { - public: +class RhythmFerret : public ArdourDialog +{ +public: /* order of these enums must match the _analyse_mode_strings - in rhythm_ferret.cc - */ + * in rhythm_ferret.cc + */ enum AnalysisMode { PercussionOnset, NoteOnset @@ -61,10 +62,10 @@ class RhythmFerret : public ArdourDialog { void set_session (ARDOUR::Session*); void on_response (int); - protected: +protected: void on_hide (); - private: +private: Editor& editor; Gtk::ComboBoxText operation_selector; @@ -114,8 +115,8 @@ class RhythmFerret : public ArdourDialog { int get_note_onset_function (); void run_analysis (); - int run_percussion_onset_analysis (boost::shared_ptr region, ARDOUR::frameoffset_t offset, ARDOUR::AnalysisFeatureList& results); - int run_note_onset_analysis (boost::shared_ptr region, ARDOUR::frameoffset_t offset, ARDOUR::AnalysisFeatureList& results); + int run_percussion_onset_analysis (boost::shared_ptr region, ARDOUR::sampleoffset_t offset, ARDOUR::AnalysisFeatureList& results); + int run_note_onset_analysis (boost::shared_ptr region, ARDOUR::sampleoffset_t offset, ARDOUR::AnalysisFeatureList& results); void do_action (); void do_split_action ();