LADSPA labels naming conflicts / -el option

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: LADSPA labels naming conflicts / -el option
From: Jan Weil (jawebada_AT_mailbox.zrz.tu-berlin.de)
Date: Sun Jan 11 2004 - 14:16:46 EET


Hi list, hi Kai,

there is a problem with ecasound's ladspa support.

Ecasound assumes that a plugin's Label is globally unique.
This is not true.

Quoting ladspa.h (Label):
This identifier can be used as a unique, case-sensitive
identifier for the plugin type within the plugin file. Plugin
types should be identified by file and label rather than by index
or plugin name, which may be changed in new plugin
versions. Labels must not contain white-space characters.

Which means labels have to be unique within one so file and if you want
to identify a plugin using its label you will have to do it in
combination with the file name of it's so file.

Actually, there are already naming conflicts if you install the cmt set
in combination with the example plugins which come with the ladspa sdk.
You will find that amp_mono, amp_stereo and delay_5s are labels which
are used more than once (cmt.so and amp.so/delay.so).

As a consequence ladspa-register and map-ladspa-list contain duplicate
entries which actually should refer to different plugins.

I'd therefor suggest to add the so file name as another argument to -el
yielding '-el:/usr/lib/ladspa/amp.so,amp_mono,10.0'.

Jan


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Jan 11 2004 - 14:15:40 EET