diff options
author | Sakari Bergen <sakari.bergen@beatwaves.net> | 2009-12-27 14:46:23 +0000 |
---|---|---|
committer | Sakari Bergen <sakari.bergen@beatwaves.net> | 2009-12-27 14:46:23 +0000 |
commit | dde0848a984e06cbc1d4117d9cffa75c191f3b39 (patch) | |
tree | 11f3a5fe94ac792e753297e16e4e80dd7e296aea /libs/ardour/ardour/export_timespan.h | |
parent | 35c72a53b4c6bbc61b4b86db9de629e18362b48d (diff) |
Re-integrate export-optimization branch.
Export now happens directly to file (unless normalizing is required), and can be easily optimized even further.
The Session process connection is still broken during export (as it was before this commit also).
git-svn-id: svn://localhost/ardour2/branches/3.0@6401 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/export_timespan.h')
-rw-r--r-- | libs/ardour/ardour/export_timespan.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libs/ardour/ardour/export_timespan.h b/libs/ardour/ardour/export_timespan.h index 7b7ae7cd99..9053ace0f9 100644 --- a/libs/ardour/ardour/export_timespan.h +++ b/libs/ardour/ardour/export_timespan.h @@ -39,9 +39,6 @@ class ExportTempFile; class ExportTimespan { private: - typedef boost::shared_ptr<ExportTempFile> TempFilePtr; - typedef std::pair<ExportChannelPtr, TempFilePtr> ChannelFilePair; - typedef std::map<ExportChannelPtr, TempFilePtr> TempFileMap; typedef boost::shared_ptr<ExportStatus> ExportStatusPtr; private: @@ -57,20 +54,6 @@ class ExportTimespan Glib::ustring range_id () const { return _range_id; } void set_range_id (Glib::ustring range_id) { _range_id = range_id; } - /// Registers a channel to be read when export starts rolling - void register_channel (ExportChannelPtr channel); - - /// "Rewinds" the tempfiles to start reading the beginnings again - void rewind (); - - /// Reads data from the tempfile belonging to channel into data - nframes_t get_data (float * data, nframes_t frames, ExportChannelPtr channel); - - /// Reads data from each channel and writes to tempfile - int process (nframes_t frames); - - PBD::ScopedConnection process_connection; - void set_range (nframes_t start, nframes_t end); nframes_t get_length () const { return end_frame - start_frame; } nframes_t get_start () const { return start_frame; } @@ -85,8 +68,6 @@ class ExportTimespan nframes_t position; nframes_t frame_rate; - TempFileMap filemap; - Glib::ustring _name; Glib::ustring _range_id; |