kwx_logo

Realizer plugin SDK

Introduction

Realizer plugins are bundled libraries extending the functionality of the application in the form of a module. Modules can input and/or output audio, video and abstract signals, furthermore there are no restrictions to what a module can do. Thanks to the plugin SDK developing a plugin is quite easy and numerous examples are provided in the "plugin" directory of the source code.

Short note on how it works

plugindef.xml

The plugin bundle contains a file named "plugindef.xml" in which the plugin its inputs, outputs and attributes are defined. The host will allocate buffers for image and audio signals and make inputs and outputs based upon the definitions in that file.

virtual functions

Any plugin should be derived from RealizerPlugin. All you have to do is override the right combination of methods so the host application can call the plugin

Of course you can also make a plugin that inputs audio and outputs video (for example an Oscilloscope)

host functions

A set of functions of the Host which the plugin can call. Generally the Host functions provide services to the plugin, such as:

Hands on

Probably the easiest way to get started is by just making a plugin. This section explains a sort of general approach on doing this in a few steps. You need to have XCode installed.

step1 : make the project

In "pluginSDK" directory you will find an application named "newPlugin.app". This will create an XCode project and the required source files. Of course you can also do this by hand. Click the "newPlugin.app" , fill in a name for your plugin, and a project should be opened automatically.

step2 : test your plugin

Build the plugin in XCode and locate the product "yourplugin".bundle in the build directory of your newly created plugin folder.
Copy the plugin into the "PlugIns" folder located in the Realizer.app bundle. Test the plugin in a patch.

step3 : adapt the plugin

Now you know the "system" works in general you can adapt the plugin to make it the plugin you really want. Generally spoken the following things should be done.

Numerous examples of plugins can be found in the "plugin" directory of the source code.
Generated on Wed Feb 22 16:48:58 2006 by  doxygen 1.4.5