q: audacity and ladspa plugins on windows

Audio software developers forum.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
neolit123
Posts: 2
Joined: Tue Jun 15, 2010 3:04 pm
Operating System: Please select

q: audacity and ladspa plugins on windows

Post by neolit123 » Tue Jun 15, 2010 3:16 pm

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 :-)
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 ... n411&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"

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: q: audacity and ladspa plugins on windows

Post by steve » Tue Jun 15, 2010 5:29 pm

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
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

neolit123
Posts: 2
Joined: Tue Jun 15, 2010 3:04 pm
Operating System: Please select

Re: q: audacity and ladspa plugins on windows

Post by neolit123 » Tue Jun 15, 2010 8:34 pm

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

Post Reply