Class: audioPluginSource
Set frame size returned by the plugin (MATLAB environment only)
setSamplesPerFrame(myAudioSourcePlugin,frameSize)
setSamplesPerFrame(
sets
the frame size (rows) that the source plugin, myAudioSourcePlugin
,frameSize
)myAudioSourcePlugin
,
must return in subsequent calls to its processing function. Specify frameSize
as
a real integer greater than or equal to 0. setSamplesPerFrame
enables
the MATLAB® environment to
mimic behavior in a digital audio workstation (DAW) environment.
Do not use setSamplesPerFrame
in a generated
plugin. If you call setSamplesPerFrame
in your authored
plugin, generateAudioPlugin
throws an error.