forked from falkTX/dssi-vst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
remoteplugin.h
70 lines (51 loc) · 1.51 KB
/
remoteplugin.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/* -*- c-basic-offset: 4 -*- */
/*
dssi-vst: a DSSI plugin wrapper for VST effects and instruments
Copyright 2012-2013 Filipe Coelho
Copyright 2010-2011 Kristian Amlie
Copyright 2004-2010 Chris Cannam
*/
#ifndef REMOTE_PLUGIN_H
#define REMOTE_PLUGIN_H
static const float RemotePluginVersion = 0.986;
enum RemotePluginDebugLevel {
RemotePluginDebugNone,
RemotePluginDebugSetup,
RemotePluginDebugEvents,
RemotePluginDebugData
};
enum RemotePluginOpcode {
RemotePluginGetVersion = 0,
RemotePluginGetName,
RemotePluginGetMaker,
RemotePluginSetBufferSize = 100,
RemotePluginSetSampleRate,
RemotePluginReset,
RemotePluginTerminate,
RemotePluginGetInputCount = 200,
RemotePluginGetOutputCount,
RemotePluginGetParameterCount = 300,
RemotePluginGetParameterName,
RemotePluginSetParameter,
RemotePluginGetParameter,
RemotePluginGetParameterDefault,
RemotePluginGetParameters,
RemotePluginGetProgramCount = 350,
RemotePluginGetProgramName,
RemotePluginSetCurrentProgram,
RemotePluginHasMIDIInput = 400,
RemotePluginSendMIDIData,
RemotePluginProcess = 500,
RemotePluginIsReady,
RemotePluginSetDebugLevel = 600,
RemotePluginWarn,
RemotePluginShowGUI = 700,
RemotePluginHideGUI,
//Deryabin Andrew: vst chunks support
RemotePluginGetVSTChunk = 800,
RemotePluginSetVSTChunk,
//Deryabin Andrew: vst chunks support: end code
RemotePluginNoOpcode = 9999
};
class RemotePluginClosedException { };
#endif