13
0

Use std::auto_ptr instead of boost::scoped_ptr in Session::import_audiofile

git-svn-id: svn://localhost/ardour2/trunk@2665 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Tim Mayberry 2007-11-15 02:31:46 +00:00
parent e34d3e3312
commit 3bf4a04d94

View File

@ -164,7 +164,7 @@ Session::import_audiofile (import_status& status)
return -1;
}
boost::scoped_ptr<ImportableSource> importable;
std::auto_ptr<ImportableSource> importable;
if ((nframes_t) info.samplerate != frame_rate()) {
importable.reset(new ResampledImportableSource (in.get(), &info, frame_rate(), status.quality));