For information on how to acquire and manage suites, as well as information on more suites that are available to other plug-in types beyond just transmitters, see SweetPea Suites.
Playmod Audio Suite¶
This suite is used to play audio during playback. There are many more functions that were used by players, still documented in the players chapter. Here we will only consider the single call in the suite that is relevant to transmitters.
Host-Based, or Plug-in Based Audio?¶
A transmitter has two choices for playing audio: it can ask the host to play the audio through the audio device selected by the user, or it can get audio buffers from the host and handle its own playback of audio.
Retrieves from the host the next contiguous requested number of audio sample frames, specified in inNumSampleFrames, in inInBuffers as arrays of uninterleaved floats.
The plug-in must manage the memory allocation of inInBuffers, which must point to n buffers of floating point values of length inNumSampleFrames, where n is the number of channels. This call is only available if InitPluginAudio was used.
prSuiteError (*GetNextAudioBuffer)( csSDK_int32 inPlayID, float** inInBuffers, float** outOutBuffers, unsigned int inNumSampleFrames);
Currently unused in CS6.
A pointer to an array of buffers holding
A pointer to an array of buffers
There must be N buffers, where N is the number of output channels for the output channel type specified in
||The size of each of the buffers in the array in both
Transmit Invocation Suite¶
This suite can be used by other types of plug-ins to push frames to transmitters.
For example, an effect or titler with a modal setup dialog could push frames to the output.