mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-25 14:11:28 +01:00
Bug 2487 - Playback meters and preview of non-real-time effect
Problem:
Playback meters do not respond during preview of non-real-time effect.
Commit ba6db6e added the meters into AudioIOStartStreamOptions.
However Effect::Preview(bool) was not modified to set the playback meter.
Fix:
In Effect::Preview(bool), use DefaultPlayOptions, which includes a playback meter.
This commit is contained in:
@@ -2463,7 +2463,7 @@ void Effect::Preview(bool dryOnly)
|
||||
t1 = std::min(mT0 + previewLen, mT1);
|
||||
|
||||
// Start audio playing
|
||||
AudioIOStartStreamOptions options { pProject, rate };
|
||||
auto options = DefaultPlayOptions(*pProject);
|
||||
int token =
|
||||
gAudioIO->StartStream(tracks, mT0, t1, options);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user