diff options
author | Carl Hetherington <carl@carlh.net> | 2010-12-03 22:26:29 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-12-03 22:26:29 +0000 |
commit | 73192bc1a7ea55fa1864dc3826845b15c00dd2ec (patch) | |
tree | c0039f3f5a848aed6e880abf11519dad855fa899 /libs/ardour/ardour/export_graph_builder.h | |
parent | 74b4a3c77b08dc1e58274875604eb73e8492fa93 (diff) |
Remove all use of nframes_t.
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/export_graph_builder.h')
-rw-r--r-- | libs/ardour/ardour/export_graph_builder.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libs/ardour/ardour/export_graph_builder.h b/libs/ardour/ardour/export_graph_builder.h index 55fa7133fc..1c49eccd9d 100644 --- a/libs/ardour/ardour/export_graph_builder.h +++ b/libs/ardour/ardour/export_graph_builder.h @@ -62,7 +62,7 @@ class ExportGraphBuilder ExportGraphBuilder (Session const & session); ~ExportGraphBuilder (); - int process (nframes_t frames, bool last_cycle); + int process (framecnt_t frames, bool last_cycle); bool process_normalize (); // returns true when finished void reset (); @@ -102,7 +102,7 @@ class ExportGraphBuilder class SFC { public: // This constructor so that this can be constructed like a Normalizer - SFC (ExportGraphBuilder &, FileSpec const & new_config, nframes_t max_frames); + SFC (ExportGraphBuilder &, FileSpec const & new_config, framecnt_t max_frames); FloatSinkPtr sink (); void add_child (FileSpec const & new_config); bool operator== (FileSpec const & other_config) const; @@ -124,7 +124,7 @@ class ExportGraphBuilder class Normalizer { public: - Normalizer (ExportGraphBuilder & parent, FileSpec const & new_config, nframes_t max_frames); + Normalizer (ExportGraphBuilder & parent, FileSpec const & new_config, framecnt_t max_frames); FloatSinkPtr sink (); void add_child (FileSpec const & new_config); bool operator== (FileSpec const & other_config) const; @@ -144,7 +144,7 @@ class ExportGraphBuilder ExportGraphBuilder & parent; FileSpec config; - nframes_t max_frames_out; + framecnt_t max_frames_out; BufferPtr buffer; PeakReaderPtr peak_reader; @@ -159,7 +159,7 @@ class ExportGraphBuilder // sample rate converter class SRC { public: - SRC (ExportGraphBuilder & parent, FileSpec const & new_config, nframes_t max_frames); + SRC (ExportGraphBuilder & parent, FileSpec const & new_config, framecnt_t max_frames); FloatSinkPtr sink (); void add_child (FileSpec const & new_config); bool operator== (FileSpec const & other_config) const; @@ -175,13 +175,13 @@ class ExportGraphBuilder boost::ptr_list<SFC> children; boost::ptr_list<Normalizer> normalized_children; SRConverterPtr converter; - nframes_t max_frames_out; + framecnt_t max_frames_out; }; // Silence trimmer + adder class SilenceHandler { public: - SilenceHandler (ExportGraphBuilder & parent, FileSpec const & new_config, nframes_t max_frames); + SilenceHandler (ExportGraphBuilder & parent, FileSpec const & new_config, framecnt_t max_frames); FloatSinkPtr sink (); void add_child (FileSpec const & new_config); bool operator== (FileSpec const & other_config) const; @@ -193,7 +193,7 @@ class ExportGraphBuilder FileSpec config; boost::ptr_list<SRC> children; SilenceTrimmerPtr silence_trimmer; - nframes_t max_frames_in; + framecnt_t max_frames_in; }; // channel configuration @@ -210,7 +210,7 @@ class ExportGraphBuilder FileSpec config; boost::ptr_list<SilenceHandler> children; InterleaverPtr interleaver; - nframes_t max_frames; + framecnt_t max_frames; }; Session const & session; @@ -223,7 +223,7 @@ class ExportGraphBuilder ChannelMap channels; Sample * process_buffer; - nframes_t process_buffer_frames; + framecnt_t process_buffer_frames; std::list<Normalizer *> normalizers; |