From 6aba4a3fc766f5f7f40eb51127594a66aed8e683 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Fri, 28 Jun 2019 08:50:47 -0400 Subject: [PATCH] Bug2129: Effect preview button should work... ... mistake was introduced at 8506282 --- src/effects/Effect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/effects/Effect.cpp b/src/effects/Effect.cpp index 52bf7b6f8..e35e86c3b 100644 --- a/src/effects/Effect.cpp +++ b/src/effects/Effect.cpp @@ -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);