diff options
author | Carl Hetherington <carl@carlh.net> | 2009-02-11 00:58:24 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-02-11 00:58:24 +0000 |
commit | d469cc3e3a536fceedbfc41e52ad3d7d178f7b0d (patch) | |
tree | 5cee0af05edc00f5b19116727b1aebfd3bc52719 /libs/ardour/ardour/audio_port.h | |
parent | fe4e98a72987f197239a025413bfddb4c29b8ba8 (diff) |
Remove internal ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@4525 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/audio_port.h')
-rw-r--r-- | libs/ardour/ardour/audio_port.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/libs/ardour/ardour/audio_port.h b/libs/ardour/ardour/audio_port.h index 304902bccb..02454655a9 100644 --- a/libs/ardour/ardour/audio_port.h +++ b/libs/ardour/ardour/audio_port.h @@ -29,8 +29,8 @@ namespace ARDOUR { class AudioPort : public Port { public: - ~AudioPort(); - + ~AudioPort (); + DataType type () const { return DataType::AUDIO; } @@ -44,23 +44,14 @@ class AudioPort : public Port AudioBuffer& get_audio_buffer (nframes_t, nframes_t); - void reset (); - protected: friend class AudioEngine; - AudioPort (std::string const &, Flags, bool, nframes_t); + AudioPort (std::string const &, Flags); - bool using_internal_data() const; - void use_internal_data (); - void use_external_data (); - private: - void mixdown (nframes_t, nframes_t, bool); - - bool _has_been_mixed_down; + bool _buffer_data_set; AudioBuffer* _buffer; - bool _internal_buffer; }; } // namespace ARDOUR |