mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-08 23:45:37 +01:00
ExportPlugin::CreateMixer returns a smart pointer
This commit is contained in:
@@ -416,7 +416,7 @@ int ExportCL::Export(AudacityProject *project,
|
||||
const TrackList *tracks = project->GetTracks();
|
||||
const WaveTrackConstArray waveTracks =
|
||||
tracks->GetWaveTrackConstArray(selectionOnly, false);
|
||||
Mixer *mixer = CreateMixer(
|
||||
auto mixer = CreateMixer(
|
||||
waveTracks,
|
||||
tracks->GetTimeTrack(),
|
||||
t0,
|
||||
@@ -520,9 +520,6 @@ int ExportCL::Export(AudacityProject *project,
|
||||
dlg.ShowModal();
|
||||
}
|
||||
|
||||
// Clean up
|
||||
delete mixer;
|
||||
|
||||
return updateResult;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user