Comment fixes.
[ardour.git] / libs / ardour / ardour / auditioner.h
index f779fa845711f0f0295b68fef77ee85065344882..97ed164494cf0cc29dd0e747a26933ef62857466 100644 (file)
@@ -39,27 +39,31 @@ class Auditioner : public AudioTrack
        Auditioner (Session&);
        ~Auditioner ();
 
-        int init ();
+       int init ();
 
        void audition_region (boost::shared_ptr<Region>);
 
        ARDOUR::AudioPlaylist& prepare_playlist ();
        void audition_current_playlist ();
 
-       int  play_audition (nframes_t nframes);
+       int play_audition (framecnt_t nframes);
 
        void cancel_audition () {
                g_atomic_int_set (&_auditioning, 0);
        }
 
        bool auditioning() const { return g_atomic_int_get (&_auditioning); }
+       bool needs_monitor() const { return via_monitor; }
+
+       virtual ChanCount input_streams () const;
 
   private:
        boost::shared_ptr<AudioRegion> the_region;
-       nframes_t current_frame;
+       framepos_t current_frame;
        mutable gint _auditioning;
        Glib::Mutex lock;
-       nframes_t length;
+       framecnt_t length;
+       bool via_monitor;
 
        void drop_ports ();
        static void *_drop_ports (void *);