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/resampled_source.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/resampled_source.h')
-rw-r--r-- | libs/ardour/ardour/resampled_source.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/ardour/resampled_source.h b/libs/ardour/ardour/resampled_source.h index 6d630bc44b..b315430b46 100644 --- a/libs/ardour/ardour/resampled_source.h +++ b/libs/ardour/ardour/resampled_source.h @@ -30,16 +30,16 @@ namespace ARDOUR { class ResampledImportableSource : public ImportableSource { public: - ResampledImportableSource (boost::shared_ptr<ImportableSource>, nframes_t rate, SrcQuality); + ResampledImportableSource (boost::shared_ptr<ImportableSource>, framecnt_t rate, SrcQuality); ~ResampledImportableSource (); - nframes_t read (Sample* buffer, nframes_t nframes); + framecnt_t read (Sample* buffer, framecnt_t nframes); float ratio() const { return src_data.src_ratio; } uint32_t channels() const { return source->channels(); } framecnt_t length() const { return source->length(); } - nframes_t samplerate() const { return source->samplerate(); } - void seek (nframes_t); + framecnt_t samplerate() const { return source->samplerate(); } + void seek (framecnt_t); framepos_t natural_position() const; bool clamped_at_unity () const { |