summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1d85122)
- static long vst_callback (AEffect* effect,
- long opcode,
- long index,
- long value,
+ static intptr_t vst_callback (AEffect* effect,
+ int32_t opcode,
+ int32_t index,
+ intptr_t value,
-long Session::vst_callback (AEffect* effect,
- long opcode,
- long index,
- long value,
- void* ptr,
- float opt)
+intptr_t Session::vst_callback (
+ AEffect* effect,
+ int32_t opcode,
+ int32_t index,
+ intptr_t value,
+ void* ptr,
+ float opt
+ )
{
static VstTimeInfo _timeInfo;
WindowsVSTPlugin* plug;
{
static VstTimeInfo _timeInfo;
WindowsVSTPlugin* plug;
if (effect && effect->user) {
plug = (WindowsVSTPlugin*) (effect->user);
session = &plug->session();
if (effect && effect->user) {
plug = (WindowsVSTPlugin*) (effect->user);
session = &plug->session();
- SHOW_CALLBACK ("am callback 0x%x, opcode = %ld, plugin = \"%s\" ", (int) pthread_self(), opcode, plug->name());
+ SHOW_CALLBACK ("am callback 0x%x, opcode = %d, plugin = \"%s\" ", (int) pthread_self(), opcode, plug->name());
} else {
plug = 0;
session = 0;
} else {
plug = 0;
session = 0;
- SHOW_CALLBACK ("am callback 0x%x, opcode = %ld", (int) pthread_self(), opcode);
+ SHOW_CALLBACK ("am callback 0x%x, opcode = %d", (int) pthread_self(), opcode);
- SHOW_CALLBACK ("VST master dispatcher: undefed: %ld\n", opcode);
+ SHOW_CALLBACK ("VST master dispatcher: undefed: %d\n", opcode);
-
-typedef long int (* audioMasterCallback)( AEffect * , long int , long int ,
- long int , void * , float );
-// we don't use it, may be noise
-#define VSTCALLBACK
-
-
-
+typedef intptr_t (* audioMasterCallback) (AEffect *, int32_t, int32_t, intptr_t, void *, float);