Browse Source

Export audiogain and midichannelize as lv2, remove midithrough

tags/v2.1-rc1
falkTX 5 years ago
parent
commit
2d281ff260
Signed by: falkTX <falktx@gmail.com> GPG Key ID: 2D3445A829213837
2 changed files with 13 additions and 11 deletions
  1. +4
    -4
      source/native-plugins/_all.c
  2. +9
    -7
      source/plugin/carla-base.cpp

+ 4
- 4
source/native-plugins/_all.c View File

@@ -24,14 +24,14 @@
extern void carla_register_native_plugin_audiogain(void); extern void carla_register_native_plugin_audiogain(void);
extern void carla_register_native_plugin_bypass(void); extern void carla_register_native_plugin_bypass(void);
extern void carla_register_native_plugin_lfo(void); extern void carla_register_native_plugin_lfo(void);
extern void carla_register_native_plugin_midichanfilter(void);
extern void carla_register_native_plugin_midichanab(void); extern void carla_register_native_plugin_midichanab(void);
extern void carla_register_native_plugin_midichanfilter(void);
extern void carla_register_native_plugin_midichannelize(void);
extern void carla_register_native_plugin_midigain(void); extern void carla_register_native_plugin_midigain(void);
extern void carla_register_native_plugin_midijoin(void); extern void carla_register_native_plugin_midijoin(void);
extern void carla_register_native_plugin_midisplit(void); extern void carla_register_native_plugin_midisplit(void);
extern void carla_register_native_plugin_midithrough(void); extern void carla_register_native_plugin_midithrough(void);
extern void carla_register_native_plugin_miditranspose(void); extern void carla_register_native_plugin_miditranspose(void);
extern void carla_register_native_plugin_midichannelize(void);


// Audio file // Audio file
extern void carla_register_native_plugin_audiofile(void); extern void carla_register_native_plugin_audiofile(void);
@@ -61,14 +61,14 @@ void carla_register_all_native_plugins(void)
carla_register_native_plugin_audiogain(); carla_register_native_plugin_audiogain();
carla_register_native_plugin_bypass(); carla_register_native_plugin_bypass();
carla_register_native_plugin_lfo(); carla_register_native_plugin_lfo();
carla_register_native_plugin_midichanfilter();
carla_register_native_plugin_midichanab(); carla_register_native_plugin_midichanab();
carla_register_native_plugin_midichannelize();
carla_register_native_plugin_midichanfilter();
carla_register_native_plugin_midigain(); carla_register_native_plugin_midigain();
carla_register_native_plugin_midijoin(); carla_register_native_plugin_midijoin();
carla_register_native_plugin_midisplit(); carla_register_native_plugin_midisplit();
carla_register_native_plugin_midithrough(); carla_register_native_plugin_midithrough();
carla_register_native_plugin_miditranspose(); carla_register_native_plugin_miditranspose();
carla_register_native_plugin_midichannelize();


// Audio file // Audio file
carla_register_native_plugin_audiofile(); carla_register_native_plugin_audiofile();


+ 9
- 7
source/plugin/carla-base.cpp View File

@@ -45,13 +45,17 @@ struct PluginListManager {
{ {
const NativePluginDescriptor* const desc(carla_getNativePluginDescriptor(i)); const NativePluginDescriptor* const desc(carla_getNativePluginDescriptor(i));


if (std::strcmp(desc->label, "lfo" ) == 0 ||
std::strcmp(desc->label, "midichanfilter" ) == 0 ||
if (std::strcmp(desc->label, "audiofile" ) == 0 ||
std::strcmp(desc->label, "audiogain" ) == 0 ||
std::strcmp(desc->label, "audiogain_s" ) == 0 ||
std::strcmp(desc->label, "lfo" ) == 0 ||
std::strcmp(desc->label, "midichanab" ) == 0 || std::strcmp(desc->label, "midichanab" ) == 0 ||
std::strcmp(desc->label, "midichanfilter" ) == 0 ||
std::strcmp(desc->label, "midichannelize" ) == 0 ||
std::strcmp(desc->label, "midifile" ) == 0 ||
std::strcmp(desc->label, "midigain" ) == 0 || std::strcmp(desc->label, "midigain" ) == 0 ||
std::strcmp(desc->label, "midijoin" ) == 0 || std::strcmp(desc->label, "midijoin" ) == 0 ||
std::strcmp(desc->label, "midisplit" ) == 0 || std::strcmp(desc->label, "midisplit" ) == 0 ||
std::strcmp(desc->label, "midithrough" ) == 0 ||
std::strcmp(desc->label, "miditranspose" ) == 0 || std::strcmp(desc->label, "miditranspose" ) == 0 ||
std::strcmp(desc->label, "midipattern" ) == 0 || std::strcmp(desc->label, "midipattern" ) == 0 ||
std::strcmp(desc->label, "carlarack" ) == 0 || std::strcmp(desc->label, "carlarack" ) == 0 ||
@@ -59,10 +63,8 @@ struct PluginListManager {
std::strcmp(desc->label, "carlapatchbay3s" ) == 0 || std::strcmp(desc->label, "carlapatchbay3s" ) == 0 ||
std::strcmp(desc->label, "carlapatchbay16" ) == 0 || std::strcmp(desc->label, "carlapatchbay16" ) == 0 ||
std::strcmp(desc->label, "carlapatchbay32" ) == 0 || std::strcmp(desc->label, "carlapatchbay32" ) == 0 ||
std::strcmp(desc->label, "bigmeter" ) == 0 ||
/*std::strcmp(desc->label, "notes" ) == 0*/
std::strcmp(desc->label, "audiofile" ) == 0 ||
std::strcmp(desc->label, "midifile" ) == 0)
std::strcmp(desc->label, "bigmeter" ) == 0
/*std::strcmp(desc->label, "notes" ) == 0*/)
{ {
descs.append(desc); descs.append(desc);
} }


Loading…
Cancel
Save