Skip to content

Commit

Permalink
Add additional module metadata (#9)
Browse files Browse the repository at this point in the history
Add optional metadata for the plugin, which can be retrieved by other
plugins through the libobs obs_enum_modules API call.
  • Loading branch information
dnaka91 committed Oct 13, 2023
1 parent 96f5338 commit 79906e0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/scale-to-sound.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ with this program. If not, see <https://www.gnu.org/licenses/>
#define STS_YPOSAL "STS_YPOSAL"

OBS_DECLARE_MODULE()
OBS_MODULE_AUTHOR("Dimitris Papaioannou")

MODULE_EXPORT const char *obs_module_name(void)
{
return "Scale to Sound";
}

MODULE_EXPORT const char *obs_module_description(void)
{
return "Scale a source reactively to sound levels";
}

const char *scale_to_sound_name(void *unused)
{
UNUSED_PARAMETER(unused);
Expand Down

0 comments on commit 79906e0

Please sign in to comment.