Fix playhead smoothing when auditioning.
[ardour.git] / gtk2_ardour / rhythm_ferret.h
index d302226dd905a99c43abab613f652b090fa5a731..5f14509a184a1bca2e90ecf63c910c37ebcc4f83 100644 (file)
@@ -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<ARDOUR::Readable> region, ARDOUR::frameoffset_t offset, ARDOUR::AnalysisFeatureList& results);
-       int run_note_onset_analysis (boost::shared_ptr<ARDOUR::Readable> region, ARDOUR::frameoffset_t offset, ARDOUR::AnalysisFeatureList& results);
+       int run_percussion_onset_analysis (boost::shared_ptr<ARDOUR::Readable> region, ARDOUR::sampleoffset_t offset, ARDOUR::AnalysisFeatureList& results);
+       int run_note_onset_analysis (boost::shared_ptr<ARDOUR::Readable> region, ARDOUR::sampleoffset_t offset, ARDOUR::AnalysisFeatureList& results);
 
        void do_action ();
        void do_split_action ();