- Fix process callbakc handling during export
[ardour.git] / libs / ardour / ardour / auditioner.h
index 424ede0009e8c955d1fd57f8924f8b2bf7c397f4..aa525b68c9dee35b9d6de3ac9814c2d709cf1a29 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2001 Paul Davis 
+    Copyright (C) 2001 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #ifndef __ardour_auditioner_h__
@@ -25,8 +24,8 @@
 
 #include <glibmm/thread.h>
 
-#include <ardour/ardour.h>
-#include <ardour/audio_track.h>
+#include "ardour/ardour.h"
+#include "ardour/audio_track.h"
 
 namespace ARDOUR {
 
@@ -45,9 +44,9 @@ class Auditioner : public AudioTrack
        ARDOUR::AudioPlaylist& prepare_playlist ();
        void audition_current_playlist ();
 
-       int  play_audition (jack_nframes_t nframes);
+       int  play_audition (nframes_t nframes);
 
-       void cancel_audition () { 
+       void cancel_audition () {
                g_atomic_int_set (&_active, 0);
        }
 
@@ -55,16 +54,16 @@ class Auditioner : public AudioTrack
 
   private:
        boost::shared_ptr<AudioRegion> the_region;
-       jack_nframes_t current_frame;
+       nframes_t current_frame;
        mutable gint _active;
        Glib::Mutex lock;
-       jack_nframes_t length;
+       nframes_t length;
 
        void drop_ports ();
        static void *_drop_ports (void *);
        void actually_drop_ports ();
        void output_changed (IOChange, void*);
-};     
+};
 
 }; /* namespace ARDOUR */