foleys_video_engine
foleys_video_engine copied to clipboard
Foleys Video Engine does not support JUCE 7
Specifically, juce::AudioPlayHead has had its positional information method API changed entirely, thus breaking AudioProcessorAdapter::PlayHead.
getCurrentPosition should be changed to getPosition, which means you'll have to pick either seconds or samples as basis for time.
The new API is intended to support all of the use-cases supported by the old API. The PositionInfo instance returned from getPosition can contain both a time-in-seconds and a time-in-samples. Just call PositionInfo::setTimeInSeconds and PositionInfo::setTimeInSamples on the instance that you return.
Thanks for the heads up! I think it's best to freeze the current state in a juce6 branch and fix it in develop