File fix-standalone-run.patch of Package Songbird
--- Source/PluginProcessor.cpp.orig 2020-11-27 11:43:04.217089617 +1000
+++ Source/PluginProcessor.cpp 2020-11-27 11:43:58.053059566 +1000
@@ -165,12 +165,12 @@
}
juce::AudioPlayHead::CurrentPositionInfo mTempoInfo;
- getPlayHead()->getCurrentPosition(mTempoInfo);
-
+ if (getPlayHead() != 0 && getPlayHead()->getCurrentPosition(mTempoInfo))
+ {
mSongbird.mModulator->MOD.prepareForNextBuffer(mTempoInfo.bpm,
mTempoInfo.timeInSeconds,
getSampleRate());
-
+ }
// This is the place where you'd normally do the guts of your plugin's
// audio processing...
// TODO: this can be much better optimised, the 1in1out/1in2out configurations are still doing