summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/jack_audio_port.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-10-08 20:14:22 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-10-08 20:14:22 +0000
commit89e4d352445e9394073804f78fbd6845e6820f20 (patch)
tree14cf1f812444a3fa5271cc7c324e1d9a67c744e9 /libs/ardour/ardour/jack_audio_port.h
parent1d210a54f9b1c0da7a196413bd760ff53f198270 (diff)
torben's port buffer reworking; torben's panner automation loading patch (allows loading of 2.X sessions)
git-svn-id: svn://localhost/ardour2/branches/3.0@3890 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/jack_audio_port.h')
-rw-r--r--libs/ardour/ardour/jack_audio_port.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/libs/ardour/ardour/jack_audio_port.h b/libs/ardour/ardour/jack_audio_port.h
index 703fb81fa3..5ca27132e0 100644
--- a/libs/ardour/ardour/jack_audio_port.h
+++ b/libs/ardour/ardour/jack_audio_port.h
@@ -32,18 +32,21 @@ namespace ARDOUR {
class AudioEngine;
class JackAudioPort : public JackPort, public BaseAudioPort {
public:
- void cycle_start (nframes_t nframes, nframes_t offset) {
- _buffer->set_data ((Sample*) jack_port_get_buffer (_port, nframes) + offset, nframes);
- }
+ void cycle_end (nframes_t nframes, nframes_t offset);
+ void cycle_start (nframes_t nframes, nframes_t offset);
int reestablish ();
+ AudioBuffer& get_audio_buffer( nframes_t nframes, nframes_t offset );
+
protected:
friend class AudioPort;
JackAudioPort (const std::string& name, Flags flags, AudioBuffer* buf);
AudioBuffer* _source_buffer;
+ private:
+ bool _has_been_mixed_down;
};
} // namespace ARDOUR