Get frame size returned by the plugin
frameSize = getSamplesPerFrame(myAudioSourcePlugin)
frameSize = getSamplesPerFrame( returns
the frame size at which the plugin is run.
the number of output samples (rows) that the current call to the processing
myAudioSourcePlugin must return.
In a digital audio workstation (DAW) environment,
getSamplesPerFrameinteracts with the DAW to determine the frame size. Frame size can vary from call to call, as determined by the DAW environment.
In the MATLAB® environment,
getSamplesPerFramereturns the value set by a previous call to the
setSamplesPerFramehas not been called, then
getSamplesPerFramereturns the default value, 256.
When authoring source plugins in MATLAB,
valid only when called in the processing function.