optimize some performance bottlenecks; remove jack_nframes_t that crept back into...
[ardour.git] / libs / ardour / ardour / audioengine.h
index 3dbd30f84156d190dbf6232f376c18009823747b..a95bc0472bc83640f74be13dda2ea648505e9b31 100644 (file)
@@ -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_audioengine_h__
@@ -47,12 +46,16 @@ class Port;
 class AudioEngine : public sigc::trackable
 {
    public:
+       typedef std::set<Port*> Ports;
+
        AudioEngine (std::string client_name);
        virtual ~AudioEngine ();
        
        jack_client_t* jack() const { return _jack; }
        bool connected() const { return _jack != 0; }
 
+       bool is_realtime () const;
+
        std::string client_name() const { return jack_client_name; }
 
        int reconnect_to_jack ();
@@ -210,7 +213,6 @@ class AudioEngine : public sigc::trackable
        bool                  reconnect_on_halt;
        int                  _usecs_per_cycle;
 
-       typedef std::set<Port*> Ports;
        SerializedRCUManager<Ports> ports;
 
        int    process_callback (nframes_t nframes);