diff options
Diffstat (limited to 'libs/ardour/ardour/resampled_source.h')
-rw-r--r-- | libs/ardour/ardour/resampled_source.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/ardour/ardour/resampled_source.h b/libs/ardour/ardour/resampled_source.h index 0c90581a29..2bf002befe 100644 --- a/libs/ardour/ardour/resampled_source.h +++ b/libs/ardour/ardour/resampled_source.h @@ -31,17 +31,17 @@ namespace ARDOUR { class LIBARDOUR_API ResampledImportableSource : public ImportableSource { public: - ResampledImportableSource (boost::shared_ptr<ImportableSource>, framecnt_t rate, SrcQuality); + ResampledImportableSource (boost::shared_ptr<ImportableSource>, samplecnt_t rate, SrcQuality); ~ResampledImportableSource (); - framecnt_t read (Sample* buffer, framecnt_t nframes); + samplecnt_t read (Sample* buffer, samplecnt_t nframes); float ratio() const { return _src_data.src_ratio; } uint32_t channels() const { return source->channels(); } - framecnt_t length() const { return source->length(); } - framecnt_t samplerate() const { return source->samplerate(); } - void seek (framepos_t); - framepos_t natural_position() const; + samplecnt_t length() const { return source->length(); } + samplecnt_t samplerate() const { return source->samplerate(); } + void seek (samplepos_t); + samplepos_t natural_position() const; bool clamped_at_unity () const { /* resampling may generate inter-sample peaks with magnitude > 1 */ |