Hi,
I’ve been fooling around with the AudioProcessor classes and i have the following question.
I have an AudioProcessorPlayer with it’s processor set to a AudioPluginInstance (wich is a VST effect plugin).
I thought i could do use the code below to apply this VST effect to audio sources i have playing. But it seems that the AudioProcessorPlayer zero’s the data before calling the plugin. What should i be doing to get the audio to be processed by the plugin?
Or am i using the wrong approach (as usual ).
void MainComponent::audioDeviceIOCallback (const float** inputChannelData,
int totalNumInputChannels,
float** outputChannelData,
int totalNumOutputChannels,
int numSamples)
{
audioSourcePlayer.audioDeviceIOCallback (inputChannelData, totalNumInputChannels, outputChannelData, totalNumOutputChannels, numSamples);
audioProcessorPlayer.audioDeviceIOCallback (inputChannelData, totalNumInputChannels, outputChannelData, totalNumOutputChannels, numSamples);
}