namespace ARDOUR {
-class AudioPort : public Port
+class LIBARDOUR_API AudioPort : public Port
{
public:
~AudioPort ();
AudioBuffer& get_audio_buffer (pframes_t nframes);
protected:
- friend class AudioEngine;
-
+ friend class PortManager;
AudioPort (std::string const &, PortFlags);
- /* special access for engine only */
+
+ /* special access for PortManager only (hah, C++) */
Sample* engine_get_whole_audio_buffer ();
private:
AudioBuffer* _buffer;
- bool _buf_valid;
+ bool _buf_valid;
};
} // namespace ARDOUR