MCPcopy Create free account
hub / github.com/andrewreeman/SpectralSuite / process

Method process

PhaseLock/Source/PhaseLockInteractor.cpp:12–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12void PhaseLockInteractor::process(SpectralAudioPlugin *plugin, std::vector<std::vector<float>> *input, std::vector<std::vector<float>> *output)
13{
14 if (m_params->willContinuePlayingWhenSilentInput())
15 {
16 const auto* playHead = plugin->getPlayHead();
17 if(playHead != nullptr)
18 {
19 auto position = playHead->getPosition();
20 if(position.hasValue())
21 {
22 if(!position->getIsPlaying())
23 {
24 return;
25 }
26 }
27 }
28 }
29 this->SpectralAudioProcessorInteractor::process(input, output);
30}
31
32
33void PhaseLockInteractor::prepareProcess(StandardFFTProcessor * spectralProcessor)

Callers

nothing calls this directly

Tested by

no test coverage detected