q: audacity and ladspa plugins on windows

hello,

i have sent an email to the feedback email, but then i’ve noticed
"If this is a request for technical support, we are unable to provide this
by either e-mail "

so i’m going to post this here as well :slight_smile:
i have a question and here is the original message:

me and a friend of mine from norway, are developing a cross-platform /
multi-format c++ library for audio fx.
http://axonlib.googlecode.com
so far we support vst’s for linux and win32, and ladspa for linux.
the idea is to compile between formats with the change of a single flag…

i was just doing some tests today for ladspa dll’s on win32
here is a test plugin:
(> http://stashbox.org/928064/test_gain_nogui.dll> ) 30kb
there is a tool called “rtladspa” written by Javier Valcarce-Garcia which
loads and runs the same plugin ok.
but audacity freezes on 100% cpu when the test plugin is in the plugin
folder.
steve harris’s plugs are working ok…

i was wondering what could be causing this and what to fix on our side so
that the plugins load.

here is some more info:

the ladspa descriptor is defined in the lines of :
__declspec(dllexport) const LADSPA_Descriptor* ladspa_descriptor (unsigned
long Index) { … }

the dll entry point is defined as :
extern “C” BOOL APIENTRY DllMain(HINSTANCE hModule, DWORD reason, LPVOID
lpReserved) { … }
( ^ we need that to get the path of the dll )

here are the actual definitions (at the bottom)
http://code.google.com/p/axonlib/source/browse/trunk/ax/format/axFormatLadspa.h?spec=svn411&r=411

compile / link with mingw:
mingw32-g++.exe -mfpmath=387 -O3 -Os -pedantic -fpermissive -W -Wall -Wextra
-Wno-unused -Wno-long-long “testtest_gain_nogui.cpp” -o
“testtest_gain_nogui.dll” -shared -mwindows -lmsimg32 -fstack-check -fdata-sections
-ffunction-sections -Wl,-gc-sections -s

thanks for any ideas
lubomir

ps: testing with version “audacity-win-1.2.6”

There’s a good chance that you will get a reply from the feedback e-mail, but if you don’t it may be worth sending a message directly to the developers mailing list.
You can find details of the developers mailing list here: http://audacityteam.org/contact/lists

thanks. i will wait a couple of days and post to the dev list.