summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/audio_port.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-04-23 17:48:37 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-04-23 17:48:37 +0000
commit28368793415ba934132994d8c10a5e149c1a8d9d (patch)
tree818d5f406e0c9b6f95f43faae0ff88d885a59ad6 /libs/ardour/ardour/audio_port.h
parent0a22716b74d52fcbef37bebf529048f7f3bc79e0 (diff)
remove offset from process callback tree. some breakage may have occured. yes, really.
git-svn-id: svn://localhost/ardour2/branches/3.0@4999 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/audio_port.h')
-rw-r--r--libs/ardour/ardour/audio_port.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/libs/ardour/ardour/audio_port.h b/libs/ardour/ardour/audio_port.h
index b928a3587d..85bac1f286 100644
--- a/libs/ardour/ardour/audio_port.h
+++ b/libs/ardour/ardour/audio_port.h
@@ -35,14 +35,15 @@ class AudioPort : public Port
return DataType::AUDIO;
}
- void cycle_start (nframes_t, nframes_t);
- void cycle_end (nframes_t, nframes_t);
+ void cycle_start (nframes_t);
+ void cycle_end (nframes_t);
+ void cycle_split ();
- Buffer& get_buffer (nframes_t nframes, nframes_t offset) {
+ Buffer& get_buffer (nframes_t nframes, nframes_t offset = 0) {
return get_audio_buffer (nframes, offset);
}
- AudioBuffer& get_audio_buffer (nframes_t, nframes_t);
+ AudioBuffer& get_audio_buffer (nframes_t nframes, nframes_t offset = 0);
protected:
friend class AudioEngine;
@@ -50,8 +51,8 @@ class AudioPort : public Port
AudioPort (std::string const &, Flags);
private:
- bool _buffer_data_set;
AudioBuffer* _buffer;
+
};
} // namespace ARDOUR