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/audiographer/audiographer/general/sample_format_converter.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/audiographer/audiographer/general/sample_format_converter.h')
-rw-r--r-- | libs/audiographer/audiographer/general/sample_format_converter.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/audiographer/audiographer/general/sample_format_converter.h b/libs/audiographer/audiographer/general/sample_format_converter.h index 8dda57c4cc..a200f37825 100644 --- a/libs/audiographer/audiographer/general/sample_format_converter.h +++ b/libs/audiographer/audiographer/general/sample_format_converter.h @@ -40,7 +40,7 @@ class SampleFormatConverter * \note If the non-const version of process() is used with floats, * there is no need to call this function. */ - void init (nframes_t max_frames, int type, int data_width); + void init (framecnt_t max_frames, int type, int data_width); /// Set whether or not clipping to [-1.0, 1.0] should occur when TOut = float. Clipping is off by default void set_clip_floats (bool yn) { clip_floats = yn; } @@ -53,12 +53,12 @@ class SampleFormatConverter private: void reset(); - void init_common(nframes_t max_frames); // not-template-specialized part of init - void check_frame_and_channel_count(nframes_t frames, ChannelCount channels_); + void init_common (framecnt_t max_frames); // not-template-specialized part of init + void check_frame_and_channel_count (framecnt_t frames, ChannelCount channels_); ChannelCount channels; GDither dither; - nframes_t data_out_size; + framecnt_t data_out_size; TOut * data_out; bool clip_floats; |