#endif
#include <cstdio>
+#include "ardour/audioengine.h"
+#include "ardour/debug.h"
#include "ardour/session.h"
#include "ardour/tempo.h"
+#include "ardour/plugin_insert.h"
#include "ardour/windows_vst_plugin.h"
#include "ardour/vestige/aeffectx.h"
#include "ardour/vst_types.h"
-
-#include "i18n.h"
-
-#define DEBUG_CALLBACKS
-static int debug_callbacks = -1;
-
-#ifdef DEBUG_CALLBACKS
-#define SHOW_CALLBACK if (debug_callbacks) printf
-#else
-#define SHOW_CALLBACK(...)
+#ifdef WINDOWS_VST_SUPPORT
+#include <fst.h>
#endif
+#include "pbd/i18n.h"
+
using namespace ARDOUR;
+#define SHOW_CALLBACK(MSG) DEBUG_TRACE (PBD::DEBUG::VSTCallbacks, string_compose (MSG " val = %1 idx = %2\n", index, value))
+
+int Session::vst_current_loading_id = 0;
+const char* Session::vst_can_do_strings[] = {
+ X_("supplyIdle"),
+ X_("sendVstTimeInfo"),
+ X_("sendVstEvents"),
+ X_("sendVstMidiEvent"),
+ X_("receiveVstEvents"),
+ X_("receiveVstMidiEvent"),
+ X_("supportShell"),
+ X_("shellCategory"),
+ X_("shellCategorycurID")
+};
+const int Session::vst_can_do_string_count = sizeof (vst_can_do_strings) / sizeof (char*);
+
intptr_t Session::vst_callback (
AEffect* effect,
int32_t opcode,
float opt
)
{
- static VstTimeInfo _timeInfo;
VSTPlugin* plug;
Session* session;
+ static VstTimeInfo _timeinfo; // only uses as fallback
+ VstTimeInfo* timeinfo;
+ int32_t newflags = 0;
- if (debug_callbacks < 0) {
- debug_callbacks = (getenv ("ARDOUR_DEBUG_VST_CALLBACKS") != 0);
- }
-
- if (effect && effect->user) {
- plug = (VSTPlugin *) (effect->user);
+ if (effect && effect->ptr1) {
+ plug = (VSTPlugin *) (effect->ptr1);
session = &plug->session();
-#ifdef COMPILER_MSVC
- SHOW_CALLBACK ("am callback 0x%x, opcode = %d, plugin = \"%s\" ", (int) pthread_self().p, opcode, plug->name());
-#else
- SHOW_CALLBACK ("am callback 0x%x, opcode = %d, plugin = \"%s\" ", (int) pthread_self(), opcode, plug->name());
-#endif
+ timeinfo = plug->timeinfo ();
+ DEBUG_TRACE (PBD::DEBUG::VSTCallbacks, string_compose ("am callback 0x%1%2, opcode = %3%4, plugin = \"%5\"\n",
+ std::hex, (void*) DEBUG_THREAD_SELF,
+ std::dec, opcode, plug->name()));
} else {
plug = 0;
session = 0;
-#ifdef COMPILER_MSVC
- SHOW_CALLBACK ("am callback 0x%x, opcode = %d", (int) pthread_self().p, opcode);
-#else
- SHOW_CALLBACK ("am callback 0x%x, opcode = %d", (int) pthread_self(), opcode);
-#endif
+ timeinfo = &_timeinfo;
+ DEBUG_TRACE (PBD::DEBUG::VSTCallbacks, string_compose ("am callback 0x%1%2, opcode = %3%4\n",
+ std::hex, (void*) DEBUG_THREAD_SELF,
+ std::dec, opcode));
}
switch(opcode){
case audioMasterAutomate:
- SHOW_CALLBACK ("amc: audioMasterAutomate\n");
+ SHOW_CALLBACK ("audioMasterAutomate");
// index, value, returns 0
if (plug) {
- plug->set_parameter (index, opt);
+ plug->parameter_changed_externally (index, opt);
}
return 0;
case audioMasterVersion:
- SHOW_CALLBACK ("amc: audioMasterVersion\n");
+ SHOW_CALLBACK ("audioMasterVersion");
// vst version, currently 2 (0 for older)
- return 2;
+ return 2400;
case audioMasterCurrentId:
- SHOW_CALLBACK ("amc: audioMasterCurrentId\n");
- // returns the unique id of a plug that's currently
- // loading
- return 0;
+ SHOW_CALLBACK ("audioMasterCurrentId");
+ // returns the unique id of a plug that's currently loading
+ return vst_current_loading_id;
case audioMasterIdle:
- SHOW_CALLBACK ("amc: audioMasterIdle\n");
- // call application idle routine (this will
- // call effEditIdle for all open editors too)
+ SHOW_CALLBACK ("audioMasterIdle");
+#ifdef WINDOWS_VST_SUPPORT
+ fst_audio_master_idle();
+#endif
if (effect) {
effect->dispatcher(effect, effEditIdle, 0, 0, NULL, 0.0f);
}
return 0;
case audioMasterPinConnected:
- SHOW_CALLBACK ("amc: audioMasterPinConnected\n");
+ SHOW_CALLBACK ("audioMasterPinConnected");
// inquire if an input or output is beeing connected;
// index enumerates input or output counting from zero:
// value is 0 for input and != 0 otherwise. note: the
// return value is 0 for <true> such that older versions
// will always return true.
+ if (!plug) {
+ // we don't know.
+ // but ardour always connects all buffers, so we're good
+ return 0;
+ }
+ switch (value) {
+ case 0:
+ if (plug->plugin_insert ()) {
+ bool valid;
+ const ChanMapping& map (plug->plugin_insert ()->input_map (plug->plugin_number ()));
+ map.get (DataType::AUDIO, index, &valid);
+ return valid ? 0 : 1;
+ }
+ if (index < plug->plugin()->numInputs) {
+ return 0;
+ }
+ break;
+ case 1:
+#if 0 // investigate, the outputs *are* connected to scratch buffers
+ if (plug->plugin_insert ()) {
+ bool valid;
+ const ChanMapping& map (plug->plugin_insert ()->output_map (plug->plugin_number ()));
+ map.get (DataType::AUDIO, index, &valid);
+ return valid ? 0 : 1;
+ }
+#endif
+ if (index < plug->plugin()->numOutputs) {
+ return 0;
+ }
+ break;
+ default:
+ break;
+ }
return 1;
case audioMasterWantMidi:
- SHOW_CALLBACK ("amc: audioMasterWantMidi\n");
+ SHOW_CALLBACK ("audioMasterWantMidi");
// <value> is a filter which is currently ignored
- if (plug) {
+ if (plug && plug->get_info() != NULL) {
plug->get_info()->n_inputs.set_midi (1);
}
return 0;
case audioMasterGetTime:
- SHOW_CALLBACK ("amc: audioMasterGetTime\n");
- // returns const VstTimeInfo* (or 0 if not supported)
- // <value> should contain a mask indicating which fields are required
- // (see valid masks above), as some items may require extensive
- // conversions
- memset(&_timeInfo, 0, sizeof(_timeInfo));
- if (session) {
- framepos_t now = session->transport_frame();
- _timeInfo.samplePos = now;
- _timeInfo.sampleRate = session->frame_rate();
- _timeInfo.flags = 0;
+ SHOW_CALLBACK ("audioMasterGetTime");
+ newflags = kVstNanosValid | kVstAutomationWriting | kVstAutomationReading;
+
+ timeinfo->nanoSeconds = g_get_monotonic_time () * 1000;
- const TempoMetric& tm (session->tempo_map().metric_at (now));
+ if (plug && session) {
+ samplepos_t now = plug->transport_sample();
+
+ timeinfo->samplePos = now;
+ timeinfo->sampleRate = session->sample_rate();
if (value & (kVstTempoValid)) {
- const Tempo& t (tm.tempo());
- _timeInfo.tempo = t.beats_per_minute ();
- _timeInfo.flags |= (kVstTempoValid);
+ const Tempo& t (session->tempo_map().tempo_at_sample (now));
+ timeinfo->tempo = t.quarter_notes_per_minute ();
+ newflags |= (kVstTempoValid);
}
- if (value & (kVstBarsValid)) {
- const Meter& m (tm.meter());
- _timeInfo.timeSigNumerator = m.divisions_per_bar ();
- _timeInfo.timeSigDenominator = m.note_divisor ();
- _timeInfo.flags |= (kVstBarsValid);
+ if (value & (kVstTimeSigValid)) {
+ const MeterSection& ms (session->tempo_map().meter_section_at_sample (now));
+ timeinfo->timeSigNumerator = ms.divisions_per_bar ();
+ timeinfo->timeSigDenominator = ms.note_divisor ();
+ newflags |= (kVstTimeSigValid);
}
- if (value & (kVstPpqPosValid)) {
+ if ((value & (kVstPpqPosValid)) || (value & (kVstBarsValid))) {
Timecode::BBT_Time bbt;
+
try {
- session->tempo_map().bbt_time_rt (now, bbt);
-
- /* Note that this assumes constant
- meter/tempo throughout the session. We
- can do better than this, because
- progressive rock fans demand it.
- */
- double ppqBar = double(bbt.bars - 1) * tm.meter().divisions_per_bar();
- double ppqBeat = double(bbt.beats - 1);
- double ppqTick = double(bbt.ticks) / Timecode::BBT_Time::ticks_per_beat;
- // PPQ Pos
- _timeInfo.ppqPos = ppqBar + ppqBeat + ppqTick;
- _timeInfo.flags |= (kVstPpqPosValid);
+ bbt = session->tempo_map().bbt_at_sample_rt (now);
+ bbt.beats = 1;
+ bbt.ticks = 0;
+ /* exact quarter note */
+ double ppqBar = session->tempo_map().quarter_note_at_bbt_rt (bbt);
+ /* quarter note at sample position (not rounded to note subdivision) */
+ double ppqPos = session->tempo_map().quarter_note_at_sample_rt (now);
+ if (value & (kVstPpqPosValid)) {
+ timeinfo->ppqPos = ppqPos;
+ newflags |= kVstPpqPosValid;
+ }
+
+ if (value & (kVstBarsValid)) {
+ timeinfo->barStartPos = ppqBar;
+ newflags |= kVstBarsValid;
+ }
+
} catch (...) {
/* relax */
}
}
- _timeInfo.tempo = tm.tempo().beats_per_minute();
- _timeInfo.flags |= kVstTempoValid;
-
- // Bars
- // _timeInfo.barStartPos = ppqBar;
- // _timeInfo.flags |= kVstBarsValid;
-
- // Time Signature
- _timeInfo.timeSigNumerator = tm.meter().divisions_per_bar();
- _timeInfo.timeSigDenominator = tm.meter().note_divisor();
- _timeInfo.flags |= kVstTimeSigValid;
-
- if (session->transport_speed() != 0.0f) {
- _timeInfo.flags |= kVstTransportPlaying;
+ if (value & (kVstSmpteValid)) {
+ Timecode::Time t;
+
+ session->timecode_time (now, t);
+
+ timeinfo->smpteOffset = (t.hours * t.rate * 60.0 * 60.0) +
+ (t.minutes * t.rate * 60.0) +
+ (t.seconds * t.rate) +
+ (t.frames) +
+ (t.subframes);
+
+ timeinfo->smpteOffset *= 80.0; /* VST spec is 1/80th samples */
+
+ if (session->timecode_drop_frames()) {
+ if (session->timecode_frames_per_second() == 30.0) {
+ timeinfo->smpteFrameRate = 5;
+ } else {
+ timeinfo->smpteFrameRate = 4; /* 29.97 assumed, thanks VST */
+ }
+ } else {
+ if (session->timecode_frames_per_second() == 24.0) {
+ timeinfo->smpteFrameRate = 0;
+ } else if (session->timecode_frames_per_second() == 24.975) {
+ timeinfo->smpteFrameRate = 2;
+ } else if (session->timecode_frames_per_second() == 25.0) {
+ timeinfo->smpteFrameRate = 1;
+ } else {
+ timeinfo->smpteFrameRate = 3; /* 30 fps */
+ }
+ }
+ newflags |= (kVstSmpteValid);
+ }
+
+ if (session->actively_recording ()) {
+ newflags |= kVstTransportRecording;
}
+
+ if (plug->transport_speed () != 0.0f) {
+ newflags |= kVstTransportPlaying;
+ }
+
+ if (session->get_play_loop ()) {
+ newflags |= kVstTransportCycleActive;
+ Location * looploc = session->locations ()->auto_loop_location ();
+ if (looploc) try {
+ timeinfo->cycleStartPos = session->tempo_map ().quarter_note_at_sample_rt (looploc->start ());
+ timeinfo->cycleEndPos = session->tempo_map ().quarter_note_at_sample_rt (looploc->end ());
+
+ newflags |= kVstCyclePosValid;
+ } catch (...) { }
+ }
+
+ } else {
+ timeinfo->samplePos = 0;
+ timeinfo->sampleRate = AudioEngine::instance()->sample_rate();
}
- return (long)&_timeInfo;
+ if ((timeinfo->flags & (kVstTransportPlaying | kVstTransportRecording | kVstTransportCycleActive))
+ !=
+ (newflags & (kVstTransportPlaying | kVstTransportRecording | kVstTransportCycleActive)))
+ {
+ newflags |= kVstTransportChanged;
+ }
+
+ timeinfo->flags = newflags;
+ return (intptr_t) timeinfo;
case audioMasterProcessEvents:
- SHOW_CALLBACK ("amc: audioMasterProcessEvents\n");
+ SHOW_CALLBACK ("audioMasterProcessEvents");
// VstEvents* in <ptr>
+ if (plug && plug->midi_buffer()) {
+ VstEvents* v = (VstEvents*)ptr;
+ for (int n = 0 ; n < v->numEvents; ++n) {
+ VstMidiEvent *vme = (VstMidiEvent*) (v->events[n]->dump);
+ if (vme->type == kVstMidiType) {
+ plug->midi_buffer()->push_back(vme->deltaSamples, 3, (uint8_t*)vme->midiData);
+ }
+ }
+ }
return 0;
case audioMasterSetTime:
- SHOW_CALLBACK ("amc: audioMasterSetTime\n");
+ SHOW_CALLBACK ("audioMasterSetTime");
// VstTimenfo* in <ptr>, filter in <value>, not supported
case audioMasterTempoAt:
- SHOW_CALLBACK ("amc: audioMasterTempoAt\n");
- // returns tempo (in bpm * 10000) at sample frame location passed in <value>
+ SHOW_CALLBACK ("audioMasterTempoAt");
+ // returns tempo (in bpm * 10000) at sample sample location passed in <value>
if (session) {
- const Tempo& t (session->tempo_map().tempo_at (value));
- return t.beats_per_minute() * 1000;
+ const Tempo& t (session->tempo_map().tempo_at_sample (value));
+ return t.quarter_notes_per_minute() * 1000;
} else {
return 0;
}
break;
case audioMasterGetNumAutomatableParameters:
- SHOW_CALLBACK ("amc: audioMasterGetNumAutomatableParameters\n");
+ SHOW_CALLBACK ("audioMasterGetNumAutomatableParameters");
return 0;
case audioMasterGetParameterQuantization:
- SHOW_CALLBACK ("amc: audioMasterGetParameterQuantization\n");
- // returns the integer value for +1.0 representation,
- // or 1 if full single float precision is maintained
- // in automation. parameter index in <value> (-1: all, any)
+ SHOW_CALLBACK ("audioMasterGetParameterQuantization");
+ // returns the integer value for +1.0 representation,
+ // or 1 if full single float precision is maintained
+ // in automation. parameter index in <value> (-1: all, any)
return 0;
case audioMasterIOChanged:
- SHOW_CALLBACK ("amc: audioMasterIOChanged\n");
- // numInputs and/or numOutputs has changed
+ SHOW_CALLBACK ("audioMasterIOChanged");
+ // numInputs and/or numOutputs has changed
return 0;
case audioMasterNeedIdle:
- SHOW_CALLBACK ("amc: audioMasterNeedIdle\n");
+ SHOW_CALLBACK ("audioMasterNeedIdle");
// plug needs idle calls (outside its editor window)
if (plug) {
plug->state()->wantIdle = 1;
return 0;
case audioMasterSizeWindow:
- SHOW_CALLBACK ("amc: audioMasterSizeWindow\n");
- // index: width, value: height
+ SHOW_CALLBACK ("audioMasterSizeWindow");
+ if (plug && plug->state()) {
+ if (plug->state()->width != index || plug->state()->height != value) {
+ plug->state()->width = index;
+ plug->state()->height = value;
+#ifndef NDEBUG
+ printf ("audioMasterSizeWindow %d %d\n", plug->state()->width, plug->state()->height);
+#endif
+ plug->VSTSizeWindow (); /* EMIT SIGNAL */
+ }
+ }
return 0;
case audioMasterGetSampleRate:
- SHOW_CALLBACK ("amc: audioMasterGetSampleRate\n");
+ SHOW_CALLBACK ("audioMasterGetSampleRate");
if (session) {
- return session->frame_rate();
+ return session->sample_rate();
}
return 0;
case audioMasterGetBlockSize:
- SHOW_CALLBACK ("amc: audioMasterGetBlockSize\n");
+ SHOW_CALLBACK ("audioMasterGetBlockSize");
if (session) {
return session->get_block_size();
}
return 0;
case audioMasterGetInputLatency:
- SHOW_CALLBACK ("amc: audioMasterGetInputLatency\n");
+ SHOW_CALLBACK ("audioMasterGetInputLatency");
return 0;
case audioMasterGetOutputLatency:
- SHOW_CALLBACK ("amc: audioMasterGetOutputLatency\n");
+ SHOW_CALLBACK ("audioMasterGetOutputLatency");
return 0;
case audioMasterGetPreviousPlug:
- SHOW_CALLBACK ("amc: audioMasterGetPreviousPlug\n");
- // input pin in <value> (-1: first to come), returns cEffect*
+ SHOW_CALLBACK ("audioMasterGetPreviousPlug");
+ // input pin in <value> (-1: first to come), returns cEffect*
return 0;
case audioMasterGetNextPlug:
- SHOW_CALLBACK ("amc: audioMasterGetNextPlug\n");
- // output pin in <value> (-1: first to come), returns cEffect*
+ SHOW_CALLBACK ("audioMasterGetNextPlug");
+ // output pin in <value> (-1: first to come), returns cEffect*
case audioMasterWillReplaceOrAccumulate:
- SHOW_CALLBACK ("amc: audioMasterWillReplaceOrAccumulate\n");
- // returns: 0: not supported, 1: replace, 2: accumulate
+ SHOW_CALLBACK ("audioMasterWillReplaceOrAccumulate");
+ // returns: 0: not supported, 1: replace, 2: accumulate
return 0;
case audioMasterGetCurrentProcessLevel:
- SHOW_CALLBACK ("amc: audioMasterGetCurrentProcessLevel\n");
+ SHOW_CALLBACK ("audioMasterGetCurrentProcessLevel");
// returns: 0: not supported,
// 1: currently in user thread (gui)
// 2: currently in audio thread (where process is called)
return 0;
case audioMasterGetAutomationState:
- SHOW_CALLBACK ("amc: audioMasterGetAutomationState\n");
+ SHOW_CALLBACK ("audioMasterGetAutomationState");
// returns 0: not supported, 1: off, 2:read, 3:write, 4:read/write
// offline
return 0;
case audioMasterOfflineStart:
- SHOW_CALLBACK ("amc: audioMasterOfflineStart\n");
+ SHOW_CALLBACK ("audioMasterOfflineStart");
return 0;
-
+
case audioMasterOfflineRead:
- SHOW_CALLBACK ("amc: audioMasterOfflineRead\n");
- // ptr points to offline structure, see below. return 0: error, 1 ok
+ SHOW_CALLBACK ("audioMasterOfflineRead");
+ // ptr points to offline structure, see below. return 0: error, 1 ok
return 0;
case audioMasterOfflineWrite:
- SHOW_CALLBACK ("amc: audioMasterOfflineWrite\n");
+ SHOW_CALLBACK ("audioMasterOfflineWrite");
// same as read
return 0;
case audioMasterOfflineGetCurrentPass:
- SHOW_CALLBACK ("amc: audioMasterOfflineGetCurrentPass\n");
+ SHOW_CALLBACK ("audioMasterOfflineGetCurrentPass");
return 0;
-
+
case audioMasterOfflineGetCurrentMetaPass:
- SHOW_CALLBACK ("amc: audioMasterOfflineGetCurrentMetaPass\n");
+ SHOW_CALLBACK ("audioMasterOfflineGetCurrentMetaPass");
return 0;
case audioMasterSetOutputSampleRate:
- SHOW_CALLBACK ("amc: audioMasterSetOutputSampleRate\n");
+ SHOW_CALLBACK ("audioMasterSetOutputSampleRate");
// for variable i/o, sample rate in <opt>
return 0;
case audioMasterGetSpeakerArrangement:
- SHOW_CALLBACK ("amc: audioMasterGetSpeakerArrangement\n");
+ SHOW_CALLBACK ("audioMasterGetSpeakerArrangement");
// (long)input in <value>, output in <ptr>
return 0;
case audioMasterGetVendorString:
- SHOW_CALLBACK ("amc: audioMasterGetVendorString\n");
+ SHOW_CALLBACK ("audioMasterGetVendorString");
// fills <ptr> with a string identifying the vendor (max 64 char)
strcpy ((char*) ptr, "Linux Audio Systems");
return 0;
case audioMasterGetProductString:
- SHOW_CALLBACK ("amc: audioMasterGetProductString\n");
+ SHOW_CALLBACK ("audioMasterGetProductString");
// fills <ptr> with a string with product name (max 64 char)
strcpy ((char*) ptr, PROGRAM_NAME);
- return 0;
+ return 1;
case audioMasterGetVendorVersion:
- SHOW_CALLBACK ("amc: audioMasterGetVendorVersion\n");
+ SHOW_CALLBACK ("audioMasterGetVendorVersion");
// returns vendor-specific version
return 900;
case audioMasterVendorSpecific:
- SHOW_CALLBACK ("amc: audioMasterVendorSpecific\n");
+ SHOW_CALLBACK ("audioMasterVendorSpecific");
// no definition, vendor specific handling
return 0;
case audioMasterSetIcon:
- SHOW_CALLBACK ("amc: audioMasterSetIcon\n");
+ SHOW_CALLBACK ("audioMasterSetIcon");
// void* in <ptr>, format not defined yet
return 0;
case audioMasterCanDo:
- SHOW_CALLBACK ("amc: audioMasterCanDo\n");
- // string in ptr, see below
+ SHOW_CALLBACK ("audioMasterCanDo");
+ // string in ptr, (const char*)ptr
+ for (int i = 0; i < vst_can_do_string_count; i++) {
+ if (! strcmp(vst_can_do_strings[i], (const char*)ptr)) {
+ return 1;
+ }
+ }
return 0;
case audioMasterGetLanguage:
- SHOW_CALLBACK ("amc: audioMasterGetLanguage\n");
+ SHOW_CALLBACK ("audioMasterGetLanguage");
// see enum
return 0;
case audioMasterOpenWindow:
- SHOW_CALLBACK ("amc: audioMasterOpenWindow\n");
+ SHOW_CALLBACK ("audioMasterOpenWindow");
// returns platform specific ptr
return 0;
case audioMasterCloseWindow:
- SHOW_CALLBACK ("amc: audioMasterCloseWindow\n");
+ SHOW_CALLBACK ("audioMasterCloseWindow");
// close window, platform specific handle in <ptr>
return 0;
case audioMasterGetDirectory:
- SHOW_CALLBACK ("amc: audioMasterGetDirectory\n");
+ SHOW_CALLBACK ("audioMasterGetDirectory");
// get plug directory, FSSpec on MAC, else char*
return 0;
case audioMasterUpdateDisplay:
- SHOW_CALLBACK ("amc: audioMasterUpdateDisplay\n");
+ SHOW_CALLBACK ("audioMasterUpdateDisplay");
// something has changed, update 'multi-fx' display
if (effect) {
effect->dispatcher(effect, effEditIdle, 0, 0, NULL, 0.0f);
return 0;
case audioMasterBeginEdit:
- SHOW_CALLBACK ("amc: audioMasterBeginEdit\n");
+ SHOW_CALLBACK ("audioMasterBeginEdit");
// begin of automation session (when mouse down), parameter index in <index>
return 0;
case audioMasterEndEdit:
- SHOW_CALLBACK ("amc: audioMasterEndEdit\n");
+ SHOW_CALLBACK ("audioMasterEndEdit");
// end of automation session (when mouse up), parameter index in <index>
return 0;
case audioMasterOpenFileSelector:
- SHOW_CALLBACK ("amc: audioMasterOpenFileSelector\n");
+ SHOW_CALLBACK ("audioMasterOpenFileSelector");
// open a fileselector window with VstFileSelect* in <ptr>
return 0;
default:
- SHOW_CALLBACK ("VST master dispatcher: undefed: %d\n", opcode);
+ DEBUG_TRACE (PBD::DEBUG::VSTCallbacks, string_compose ("VST master dispatcher: undefed: %1\n", opcode));
break;
}
return 0;
}
-