diff options
Diffstat (limited to 'libs/ardour/ardour/resampled_source.h')
-rw-r--r-- | libs/ardour/ardour/resampled_source.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/ardour/resampled_source.h b/libs/ardour/ardour/resampled_source.h index 1f6947aeac..efa1458152 100644 --- a/libs/ardour/ardour/resampled_source.h +++ b/libs/ardour/ardour/resampled_source.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2007 Paul Davis + Copyright (C) 2007 Paul Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -27,13 +27,13 @@ namespace ARDOUR { -class ResampledImportableSource : public ImportableSource +class ResampledImportableSource : public ImportableSource { public: ResampledImportableSource (boost::shared_ptr<ImportableSource>, nframes_t rate, SrcQuality); ~ResampledImportableSource (); - + nframes_t read (Sample* buffer, nframes_t nframes); float ratio() const { return src_data.src_ratio; } uint32_t channels() const { return source->channels(); } @@ -41,9 +41,9 @@ class ResampledImportableSource : public ImportableSource nframes_t samplerate() const { return source->samplerate(); } void seek (nframes_t pos) { source->seek (pos); } nframes64_t natural_position() const { return source->natural_position(); } - + static const uint32_t blocksize; - + private: boost::shared_ptr<ImportableSource> source; float* input; |