Skip to content

Commit 7562efb

Browse files
committed
Using new mechanism for registering plugin metadata
1 parent 4879d6d commit 7562efb

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

src/main/meta/sampler.cpp

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
3-
* (C) 2025 Vladimir Sadovnikov <sadko4u@gmail.com>
2+
* Copyright (C) 2026 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
* (C) 2026 Vladimir Sadovnikov <sadko4u@gmail.com>
44
*
55
* This file is part of lsp-plugins-sampler
66
* Created on: 11 июл. 2021 г.
@@ -20,6 +20,7 @@
2020
*/
2121

2222
#include <lsp-plug.in/plug-fw/meta/ports.h>
23+
#include <lsp-plug.in/plug-fw/meta/registry.h>
2324
#include <lsp-plug.in/shared/meta/developers.h>
2425
#include <lsp-plug.in/common/status.h>
2526
#include <private/meta/sampler.h>
@@ -836,6 +837,7 @@ namespace lsp
836837
mono_plugin_port_groups,
837838
&sampler_bundle
838839
};
840+
LSP_REGISTER_METADATA(sampler_mono);
839841

840842
const plugin_t sampler_stereo =
841843
{
@@ -866,6 +868,7 @@ namespace lsp
866868
stereo_plugin_port_groups,
867869
&sampler_bundle
868870
};
871+
LSP_REGISTER_METADATA(sampler_stereo);
869872

870873
const plugin_t multisampler_x12 =
871874
{
@@ -896,6 +899,7 @@ namespace lsp
896899
stereo_plugin_port_groups,
897900
&multisampler_bundle
898901
};
902+
LSP_REGISTER_METADATA(multisampler_x12);
899903

900904
const plugin_t multisampler_x24 =
901905
{
@@ -926,6 +930,7 @@ namespace lsp
926930
stereo_plugin_port_groups,
927931
&multisampler_bundle
928932
};
933+
LSP_REGISTER_METADATA(multisampler_x24);
929934

930935
const plugin_t multisampler_x48 =
931936
{
@@ -956,6 +961,7 @@ namespace lsp
956961
stereo_plugin_port_groups,
957962
&multisampler_bundle
958963
};
964+
LSP_REGISTER_METADATA(multisampler_x48);
959965

960966
const plugin_t multisampler_x12_do =
961967
{
@@ -986,6 +992,7 @@ namespace lsp
986992
sampler_x12_port_groups,
987993
&multisampler_bundle
988994
};
995+
LSP_REGISTER_METADATA(multisampler_x12_do);
989996

990997
const plugin_t multisampler_x24_do =
991998
{
@@ -1016,6 +1023,7 @@ namespace lsp
10161023
sampler_x24_port_groups,
10171024
&multisampler_bundle
10181025
};
1026+
LSP_REGISTER_METADATA(multisampler_x24_do);
10191027

10201028
const plugin_t multisampler_x48_do =
10211029
{
@@ -1046,6 +1054,7 @@ namespace lsp
10461054
sampler_x48_port_groups,
10471055
&multisampler_bundle
10481056
};
1057+
LSP_REGISTER_METADATA(multisampler_x48_do);
10491058

10501059
} /* namespace meta */
10511060
} /* namespace lsp */

0 commit comments

Comments
 (0)