- SHOW_CALLBACK ("am callback 0x%x, opcode = %ld, plugin = \"%s\" ", pthread_self(), opcode, plug->name());
+ SHOW_CALLBACK ("am callback 0x%x, opcode = %d, plugin = \"%s\" ", (int) pthread_self(), opcode, plug->name());
- SHOW_CALLBACK ("am callback 0x%x, opcode = %ld", pthread_self(), opcode);
+ SHOW_CALLBACK ("am callback 0x%x, opcode = %d", (int) pthread_self(), opcode);
case audioMasterAutomate:
SHOW_CALLBACK ("amc: audioMasterAutomate\n");
// index, value, returns 0
case audioMasterAutomate:
SHOW_CALLBACK ("amc: audioMasterAutomate\n");
// index, value, returns 0
if (effect) {
effect->dispatcher(effect, effEditIdle, 0, 0, NULL, 0.0f);
}
return 0;
if (effect) {
effect->dispatcher(effect, effEditIdle, 0, 0, NULL, 0.0f);
}
return 0;
SHOW_CALLBACK ("amc: audioMasterPinConnected\n");
// inquire if an input or output is beeing connected;
// index enumerates input or output counting from zero:
SHOW_CALLBACK ("amc: audioMasterPinConnected\n");
// inquire if an input or output is beeing connected;
// index enumerates input or output counting from zero:
case audioMasterWantMidi:
SHOW_CALLBACK ("amc: audioMasterWantMidi\n");
// <value> is a filter which is currently ignored
case audioMasterWantMidi:
SHOW_CALLBACK ("amc: audioMasterWantMidi\n");
// <value> is a filter which is currently ignored
if (value & (kVstTempoValid)) {
const Tempo& t (session->tempo_map().tempo_at (session->transport_frame()));
_timeInfo.tempo = t.beats_per_minute ();
if (value & (kVstTempoValid)) {
const Tempo& t (session->tempo_map().tempo_at (session->transport_frame()));
_timeInfo.tempo = t.beats_per_minute ();
}
if (value & (kVstBarsValid)) {
const Meter& m (session->tempo_map().meter_at (session->transport_frame()));
}
if (value & (kVstBarsValid)) {
const Meter& m (session->tempo_map().meter_at (session->transport_frame()));
SHOW_CALLBACK ("amc: audioMasterGetParameterQuantization\n");
// returns the integer value for +1.0 representation,
// or 1 if full single float precision is maintained
SHOW_CALLBACK ("amc: audioMasterGetParameterQuantization\n");
// returns the integer value for +1.0 representation,
// or 1 if full single float precision is maintained
// 4: currently offline processing and thus in user thread
// other: not defined, but probably pre-empting user thread.
return 0;
// 4: currently offline processing and thus in user thread
// other: not defined, but probably pre-empting user thread.
return 0;
case audioMasterGetAutomationState:
SHOW_CALLBACK ("amc: audioMasterGetAutomationState\n");
// returns 0: not supported, 1: off, 2:read, 3:write, 4:read/write
case audioMasterGetAutomationState:
SHOW_CALLBACK ("amc: audioMasterGetAutomationState\n");
// returns 0: not supported, 1: off, 2:read, 3:write, 4:read/write
case audioMasterVendorSpecific:
SHOW_CALLBACK ("amc: audioMasterVendorSpecific\n");
// no definition, vendor specific handling
return 0;
case audioMasterVendorSpecific:
SHOW_CALLBACK ("amc: audioMasterVendorSpecific\n");
// no definition, vendor specific handling
return 0;
case audioMasterSetIcon:
SHOW_CALLBACK ("amc: audioMasterSetIcon\n");
// void* in <ptr>, format not defined yet
return 0;
case audioMasterSetIcon:
SHOW_CALLBACK ("amc: audioMasterSetIcon\n");
// void* in <ptr>, format not defined yet
return 0;
case audioMasterCanDo:
SHOW_CALLBACK ("amc: audioMasterCanDo\n");
// string in ptr, see below
return 0;
case audioMasterCanDo:
SHOW_CALLBACK ("amc: audioMasterCanDo\n");
// string in ptr, see below
return 0;
case audioMasterOpenWindow:
SHOW_CALLBACK ("amc: audioMasterOpenWindow\n");
// returns platform specific ptr
return 0;
case audioMasterOpenWindow:
SHOW_CALLBACK ("amc: audioMasterOpenWindow\n");
// returns platform specific ptr
return 0;
case audioMasterCloseWindow:
SHOW_CALLBACK ("amc: audioMasterCloseWindow\n");
// close window, platform specific handle in <ptr>
return 0;
case audioMasterCloseWindow:
SHOW_CALLBACK ("amc: audioMasterCloseWindow\n");
// close window, platform specific handle in <ptr>
return 0;
case audioMasterGetDirectory:
SHOW_CALLBACK ("amc: audioMasterGetDirectory\n");
// get plug directory, FSSpec on MAC, else char*
return 0;
case audioMasterGetDirectory:
SHOW_CALLBACK ("amc: audioMasterGetDirectory\n");
// get plug directory, FSSpec on MAC, else char*
return 0;
case audioMasterUpdateDisplay:
SHOW_CALLBACK ("amc: audioMasterUpdateDisplay\n");
// something has changed, update 'multi-fx' display
case audioMasterUpdateDisplay:
SHOW_CALLBACK ("amc: audioMasterUpdateDisplay\n");
// something has changed, update 'multi-fx' display
effect->dispatcher(effect, effEditIdle, 0, 0, NULL, 0.0f);
}
return 0;
effect->dispatcher(effect, effEditIdle, 0, 0, NULL, 0.0f);
}
return 0;
case audioMasterBeginEdit:
SHOW_CALLBACK ("amc: audioMasterBeginEdit\n");
// begin of automation session (when mouse down), parameter index in <index>
return 0;
case audioMasterBeginEdit:
SHOW_CALLBACK ("amc: audioMasterBeginEdit\n");
// begin of automation session (when mouse down), parameter index in <index>
return 0;
case audioMasterEndEdit:
SHOW_CALLBACK ("amc: audioMasterEndEdit\n");
// end of automation session (when mouse up), parameter index in <index>
return 0;
case audioMasterEndEdit:
SHOW_CALLBACK ("amc: audioMasterEndEdit\n");
// end of automation session (when mouse up), parameter index in <index>
return 0;
case audioMasterOpenFileSelector:
SHOW_CALLBACK ("amc: audioMasterOpenFileSelector\n");
// open a fileselector window with VstFileSelect* in <ptr>
return 0;
case audioMasterOpenFileSelector:
SHOW_CALLBACK ("amc: audioMasterOpenFileSelector\n");
// open a fileselector window with VstFileSelect* in <ptr>
return 0;