diff --git a/plugins/ladspa_effect/swh/vocoder_1337.c b/plugins/ladspa_effect/swh/vocoder_1337.c index 086faffb5..e5b4d24bd 100644 --- a/plugins/ladspa_effect/swh/vocoder_1337.c +++ b/plugins/ladspa_effect/swh/vocoder_1337.c @@ -443,8 +443,15 @@ _fini() { /* Return a descriptor of the requested plugin type. Only one plugin type is available in this library. */ +_WINDOWS_DLL_EXPORT_ const LADSPA_Descriptor * ladspa_descriptor(unsigned long Index) { +#ifdef WIN32 + if (bIsFirstTime) { + _init(); + bIsFirstTime = 0; + } +#endif if (Index == 0) return g_psDescriptor; else