From f07ca6397f5699e4dc4ec1e360f9e263d8a0d9ad Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 15 Mar 2012 21:40:17 +0000 Subject: radically rethink export/bounce/freeze code design. probably not 100% done by freeze+unfreeze now work and behave sensibly w.r.t. processors that do routing git-svn-id: svn://localhost/ardour2/branches/3.0@11701 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/audio_track.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'libs/ardour/ardour/audio_track.h') diff --git a/libs/ardour/ardour/audio_track.h b/libs/ardour/ardour/audio_track.h index 4ae5b59fc8..ada58e8ebe 100644 --- a/libs/ardour/ardour/audio_track.h +++ b/libs/ardour/ardour/audio_track.h @@ -20,6 +20,7 @@ #ifndef __ardour_audio_track_h__ #define __ardour_audio_track_h__ +#include "ardour/interthread_info.h" #include "ardour/track.h" namespace ARDOUR { @@ -49,20 +50,20 @@ class AudioTrack : public Track return DataType::AUDIO; } - int export_stuff (BufferSet& bufs, framepos_t start_frame, framecnt_t nframes, bool enable_processing = true); - void freeze_me (InterThreadInfo&); void unfreeze (); + bool bounceable (boost::shared_ptr, bool include_endpoint) const; boost::shared_ptr bounce (InterThreadInfo&); - boost::shared_ptr bounce_range (framepos_t start, framepos_t end, InterThreadInfo&, bool enable_processing); + boost::shared_ptr bounce_range (framepos_t start, framepos_t end, InterThreadInfo&, + boost::shared_ptr endpoint, bool include_endpoint); + int export_stuff (BufferSet& bufs, framepos_t start_frame, framecnt_t nframes, + boost::shared_ptr endpoint, bool include_endpoint, bool for_export); int set_state (const XMLNode&, int version); boost::shared_ptr write_source (uint32_t n = 0); - bool bounceable () const; - protected: boost::shared_ptr audio_diskstream () const; XMLNode& state (bool full); -- cgit v1.2.3