1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-26 06:31:13 +01:00

Bug2129: Effect preview button should work...

... mistake was introduced at 8506282
This commit is contained in:
Paul Licameli
2019-06-28 08:50:47 -04:00
parent 97f48c4326
commit 6aba4a3fc7

View File

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