diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2007-11-15 02:31:58 +0000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2007-11-15 02:31:58 +0000 |
commit | 27b022bdebcf324373c01f6aa4dc666630a2d5bf (patch) | |
tree | cd91767c542eb58bc5960980da454141c8bd80d0 /libs/ardour/ardour/resampled_source.h | |
parent | 4076f7714aff134ae06859f16a7c4e9b88193afc (diff) |
Pass a path argument to ImportableSource rather than SNDFILE handle so resource management is contained
git-svn-id: svn://localhost/ardour2/trunk@2667 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/resampled_source.h')
-rw-r--r-- | libs/ardour/ardour/resampled_source.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/ardour/resampled_source.h b/libs/ardour/ardour/resampled_source.h index 9a88ca9644..8ca56b52d3 100644 --- a/libs/ardour/ardour/resampled_source.h +++ b/libs/ardour/ardour/resampled_source.h @@ -30,7 +30,9 @@ namespace ARDOUR { class ResampledImportableSource : public ImportableSource { public: - ResampledImportableSource (SNDFILE* sf, SF_INFO* info, nframes_t rate, SrcQuality); + ResampledImportableSource (const std::string& path, + nframes_t rate, SrcQuality); + ~ResampledImportableSource (); nframes_t read (Sample* buffer, nframes_t nframes); |