diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-03-15 21:40:17 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-03-15 21:40:17 +0000 |
commit | f07ca6397f5699e4dc4ec1e360f9e263d8a0d9ad (patch) | |
tree | 67d6fd1dea33e5adc8f84886dfeeaa46ca84051e /libs/ardour/ardour/audio_track.h | |
parent | cfaf6ff7e3726bdfa97516fe683dc3cf93c62223 (diff) |
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
Diffstat (limited to 'libs/ardour/ardour/audio_track.h')
-rw-r--r-- | libs/ardour/ardour/audio_track.h | 11 |
1 files changed, 6 insertions, 5 deletions
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<Processor>, bool include_endpoint) const; boost::shared_ptr<Region> bounce (InterThreadInfo&); - boost::shared_ptr<Region> bounce_range (framepos_t start, framepos_t end, InterThreadInfo&, bool enable_processing); + boost::shared_ptr<Region> bounce_range (framepos_t start, framepos_t end, InterThreadInfo&, + boost::shared_ptr<Processor> endpoint, bool include_endpoint); + int export_stuff (BufferSet& bufs, framepos_t start_frame, framecnt_t nframes, + boost::shared_ptr<Processor> endpoint, bool include_endpoint, bool for_export); int set_state (const XMLNode&, int version); boost::shared_ptr<AudioFileSource> write_source (uint32_t n = 0); - bool bounceable () const; - protected: boost::shared_ptr<AudioDiskstream> audio_diskstream () const; XMLNode& state (bool full); |