MCPcopy Create free account
hub / github.com/jerryuhoo/Fire / pushDataToFFT

Method pushDataToFFT

Source/PluginProcessor.cpp:1387–1396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1385}
1386
1387void FireAudioProcessor::pushDataToFFT(juce::AudioBuffer<float>& buffer, SpectrumProcessor& specProcessor)
1388{
1389 if (buffer.getNumChannels() > 0)
1390 {
1391 auto* channelData = buffer.getReadPointer(0);
1392
1393 for (auto i = 0; i < buffer.getNumSamples(); ++i)
1394 specProcessor.pushNextSampleIntoFifo(channelData[i]);
1395 }
1396}
1397
1398void FireAudioProcessor::processFFT(float* tempFFTData, int dataIndex)
1399{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected