VDJPedia

Here is an example to start developping a plugin "MyPlugin8". We use the class "CMyPlugin8" to define our object but you can use what you want. The file "Main.cpp" is the caller of your object "CMyPlugin8" and is the entry point to communicate with VirtualDJ.

For this example, you need to include the following files from the SDK v8 in your project: vdjPlugin8.h (basic common base-class for all plugins) and vdjDsp8.h (base classes for all Dsp plugins)You can use other compiler but please find one example of Visual C++ project for this project on a PC. It will generate a .dll fileFor the case of this example, please copy all the files in the same folder.

MyPlugin8.h:

#ifndef MYPLUGIN8_H#define MYPLUGIN8_H

#include "vdjDsp8.h"

#include <cmath>// round() is only defined in C++11 so we use this workaround#define round(v) ((int)floor((v)+0.5f))