1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-10 08:25:52 +01:00

AudioIO.cpp does not depend on ProjectAudioIO.h and GetActiveProject

This commit is contained in:
Paul Licameli
2019-05-30 15:56:44 -04:00
parent e5cf2165d1
commit 850628275b
5 changed files with 28 additions and 23 deletions

View File

@@ -2624,7 +2624,7 @@ void Effect::Preview(bool dryOnly)
t1 = std::min(mT0 + previewLen, mT1);
// Start audio playing
AudioIOStartStreamOptions options { rate };
AudioIOStartStreamOptions options { nullptr, rate };
int token =
gAudioIO->StartStream(tracks, mT0, t1, options);