setSamplesPerFrame
Class: audioPluginSource
Set frame size returned by the plugin (MATLAB environment only)
Syntax
setSamplesPerFrame(myAudioSourcePlugin,frameSize)
Description
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.
Note
Do not use setSamplesPerFrame
in a generated plugin. If you call
setSamplesPerFrame
in your authored plugin, generateAudioPlugin
throws an error.
Version History
Introduced in R2016a