fixes from 2.X for latency/capture alignment stuff: don't reverse route list, update...
[ardour.git] / libs / ardour / ardour / session.h
index cafcd4382fdb48a832c24df14beb3183769659bb..e41ea5a625646a807efcebec3fd4d00de70446f5 100644 (file)
@@ -741,6 +741,15 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi
                        long value,
                        void* ptr,
                        float opt);
+                       
+       /*Native linuxVST support*/
+       
+       static long lxvst_callback (AEffect* effect,
+                                 long opcode,
+                                 long index,
+                                 long value,
+                                 void* ptr,
+                                 float opt);
 
        static PBD::Signal0<void> SendFeedback;
 
@@ -895,6 +904,7 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi
        bool                    _writable;
        bool                    _was_seamless;
 
+       void initialize_latencies ();
        void set_worst_io_latencies ();
        void set_worst_playback_latency ();
        void set_worst_capture_latency ();
@@ -963,18 +973,6 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi
        int  process_routes (pframes_t, bool& need_butler);
        int  silent_process_routes (pframes_t, bool& need_butler);
 
-       bool get_rec_monitors_input () {
-               if (actively_recording()) {
-                       return true;
-               } else {
-                       if (config.get_auto_input()) {
-                               return false;
-                       } else {
-                               return true;
-                       }
-               }
-       }
-
        int get_transport_declick_required () {
                if (transport_sub_state & PendingDeclickIn) {
                        transport_sub_state &= ~PendingDeclickIn;