1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-13 14:13:32 +02:00

ODTask cloners return smart pointers

This commit is contained in:
Paul Licameli
2016-03-31 13:53:41 -04:00
parent 5477781ea8
commit c9d50dc20b
11 changed files with 21 additions and 23 deletions

View File

@@ -506,7 +506,7 @@ int FLACImportFileHandle::Import(TrackFactory *trackFactory,
{
//if we have 3 more channels, they get imported on seperate tracks, so we add individual tasks for each.
ODManager::Instance()->AddNewTask(mDecoderTask);
mDecoderTask=new ODDecodeFlacTask; //TODO: see if we need to use clone to keep the metadata.
mDecoderTask = new ODDecodeFlacTask; //TODO: see if we need to use clone to keep the metadata.
}
}
//if we have mono or a linked track (stereo), we add ONE task for the one linked wave track