drastic rethink of the relationship between remote control ID and route order keys...
[ardour.git] / libs / ardour / ardour / audio_port.h
index ffd1f8d9b07eae6ab998c6de6890671fa354f258..7f084a5c85fb12d56897cb384fa242f6d614b745 100644 (file)
@@ -39,21 +39,22 @@ class AudioPort : public Port
        void cycle_end (pframes_t);
        void cycle_split ();
 
-       size_t raw_buffer_size (pframes_t nframes) const;
-
-       Buffer& get_buffer (framecnt_t nframes) {
+       Buffer& get_buffer (pframes_t nframes) {
                return get_audio_buffer (nframes);
        }
 
-       AudioBuffer& get_audio_buffer (framecnt_t nframes);
+       AudioBuffer& get_audio_buffer (pframes_t nframes);
 
   protected:
        friend class AudioEngine;
 
        AudioPort (std::string const &, Flags);
+        /* special access for engine only */
+        Sample* engine_get_whole_audio_buffer ();
 
   private:
        AudioBuffer* _buffer;
+        bool         _buf_valid; 
 };
 
 } // namespace ARDOUR