diff options
author | Sakari Bergen <sakari.bergen@beatwaves.net> | 2008-09-28 11:11:38 +0000 |
---|---|---|
committer | Sakari Bergen <sakari.bergen@beatwaves.net> | 2008-09-28 11:11:38 +0000 |
commit | 6b50ba341da426805ce3c92609c0fa12c52b67ac (patch) | |
tree | 4ed20d3699613da5a952b09b7e9ef47ceb6b8610 /libs/ardour/ardour/export_processor.h | |
parent | 909995338c970e9f8f7a51886502640527f2061e (diff) |
* Improved export error handling, streamlined ExportFailed
* Cleaned out export related visibility in Session, and simpified Session <--> export component communication in general
* Removed export_status.h header dependency from session.h
* Added check for libsndfile FLAC and Ogg Vorbis compatibility
* Added ExportFileFactory, leading in cleaner code in ExportProcessor, and better extensibility for possible future non-libsndfile formats
git-svn-id: svn://localhost/ardour2/branches/3.0@3818 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/export_processor.h')
-rw-r--r-- | libs/ardour/ardour/export_processor.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/libs/ardour/ardour/export_processor.h b/libs/ardour/ardour/export_processor.h index fdb8213c68..5034831da4 100644 --- a/libs/ardour/ardour/export_processor.h +++ b/libs/ardour/ardour/export_processor.h @@ -52,14 +52,6 @@ class ExportProcessor typedef boost::shared_ptr<Normalizer> NormalizerPtr; typedef boost::shared_ptr<ExportTempFile> TempFilePtr; - typedef boost::shared_ptr<SampleFormatConverter<short> > ShortConverterPtr; - typedef boost::shared_ptr<SampleFormatConverter<int> > IntConverterPtr; - typedef boost::shared_ptr<SampleFormatConverter<float> > FloatConverterPtr; - - typedef boost::shared_ptr<SndfileWriter<short> > ShortWriterPtr; - typedef boost::shared_ptr<SndfileWriter<int> > IntWriterPtr; - typedef boost::shared_ptr<SndfileWriter<float> > FloatWriterPtr; - typedef GraphSink<float> FloatSink; typedef boost::shared_ptr<FloatSink> FloatSinkPtr; typedef std::vector<FloatSinkPtr> FloatSinkVect; @@ -96,10 +88,9 @@ class ExportProcessor private: void reset (); - FloatSinkPtr prepare_sndfile_writer (FormatPtr format, uint32_t channels, ustring const & filename); - Session & session; - ExportStatus & status; + Session & session; + boost::shared_ptr<ExportStatus> status; /* these are initalized in prepare() */ |