Browse Source

Add new metadata to the rest of the plugins

pull/2/head
falkTX 9 years ago
parent
commit
814ecd96ca
8 changed files with 86 additions and 18 deletions
  1. +3
    -2
      plugins/Info/DistrhoPluginInfo.h
  2. +17
    -2
      plugins/Info/InfoExamplePlugin.cpp
  3. +1
    -1
      plugins/Latency/LatencyExamplePlugin.cpp
  4. +19
    -3
      plugins/Meters/ExamplePluginMeters.cpp
  5. +3
    -2
      plugins/Parameters/DistrhoPluginInfo.h
  6. +20
    -3
      plugins/Parameters/ExamplePluginParameters.cpp
  7. +3
    -2
      plugins/States/DistrhoPluginInfo.h
  8. +20
    -3
      plugins/States/ExamplePluginStates.cpp

+ 3
- 2
plugins/Info/DistrhoPluginInfo.h View File

@@ -17,8 +17,9 @@
#ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED
#define DISTRHO_PLUGIN_INFO_H_INCLUDED

#define DISTRHO_PLUGIN_NAME "Info"
#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/examples/Info"
#define DISTRHO_PLUGIN_BRAND "DISTRHO"
#define DISTRHO_PLUGIN_NAME "Info"
#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/examples/Info"

#define DISTRHO_PLUGIN_HAS_UI 1
#define DISTRHO_PLUGIN_IS_RT_SAFE 1


+ 17
- 2
plugins/Info/InfoExamplePlugin.cpp View File

@@ -49,6 +49,14 @@ protected:
return "Info";
}
/**
Get an extensive comment/description about the plugin.
*/
const char* getDescription() const override
{
return "Plugin to show how to get some basic information sent to the UI.";
}
/**
Get the plugin author/maker.
*/
@@ -57,6 +65,14 @@ protected:
return "DISTRHO";
}
/**
Get the plugin homepage.
*/
const char* getHomePage() const override
{
return "https://github.com/DISTRHO/plugin-examples";
}
/**
Get the plugin license name (a single line of text).
For commercial plugins this should return some short copyright information.
@@ -68,11 +84,10 @@ protected:
/**
Get the plugin version, in hexadecimal.
TODO format to be defined
*/
uint32_t getVersion() const override
{
return 0x1000;
return d_version(1, 0, 0);
}
/**


+ 1
- 1
plugins/Latency/LatencyExamplePlugin.cpp View File

@@ -80,7 +80,7 @@ protected:
}
/**
Get the plugin license (a single line of text or a URL).
Get the plugin license name (a single line of text).
For commercial plugins this should return some short copyright information.
*/
const char* getLicense() const override


+ 19
- 3
plugins/Meters/ExamplePluginMeters.cpp View File

@@ -1,6 +1,6 @@
/*
* DISTRHO Plugin Framework (DPF)
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com>
*
* Permission to use, copy, modify, and/or distribute this software for any purpose with
* or without fee is hereby granted, provided that the above copyright notice and this
@@ -48,6 +48,14 @@ protected:
return "meters";
}
/**
Get an extensive comment/description about the plugin.
*/
const char* getDescription() const override
{
return "Plugin to demonstrate parameter outputs using meters.";
}
/**
Get the plugin author/maker.
*/
@@ -56,8 +64,17 @@ protected:
return "DISTRHO";
}
/**
Get the plugin homepage.
*/
const char* getHomePage() const override
{
return "https://github.com/DISTRHO/plugin-examples";
}
/**
Get the plugin license name (a single line of text).
For commercial plugins this should return some short copyright information.
*/
const char* getLicense() const override
{
@@ -66,11 +83,10 @@ protected:
/**
Get the plugin version, in hexadecimal.
TODO format to be defined
*/
uint32_t getVersion() const override
{
return 0x1000;
return d_version(1, 0, 0);
}
/**


+ 3
- 2
plugins/Parameters/DistrhoPluginInfo.h View File

@@ -17,8 +17,9 @@
#ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED
#define DISTRHO_PLUGIN_INFO_H_INCLUDED

#define DISTRHO_PLUGIN_NAME "Parameters"
#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/examples/Parameters"
#define DISTRHO_PLUGIN_BRAND "DISTRHO"
#define DISTRHO_PLUGIN_NAME "Parameters"
#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/examples/Parameters"

#define DISTRHO_PLUGIN_HAS_UI 1
#define DISTRHO_PLUGIN_IS_RT_SAFE 1


+ 20
- 3
plugins/Parameters/ExamplePluginParameters.cpp View File

@@ -1,6 +1,6 @@
/*
* DISTRHO Plugin Framework (DPF)
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com>
*
* Permission to use, copy, modify, and/or distribute this software for any purpose with
* or without fee is hereby granted, provided that the above copyright notice and this
@@ -50,6 +50,15 @@ protected:
return "parameters";
}
/**
Get an extensive comment/description about the plugin.
*/
const char* getDescription() const override
{
return "Simple plugin to demonstrate parameter usage (including UI).\n\
The plugin will be treated as an effect, but it will not change the host audio.";
}
/**
Get the plugin author/maker.
*/
@@ -58,8 +67,17 @@ protected:
return "DISTRHO";
}
/**
Get the plugin homepage.
*/
const char* getHomePage() const override
{
return "https://github.com/DISTRHO/plugin-examples";
}
/**
Get the plugin license name (a single line of text).
For commercial plugins this should return some short copyright information.
*/
const char* getLicense() const override
{
@@ -68,11 +86,10 @@ protected:
/**
Get the plugin version, in hexadecimal.
TODO format to be defined
*/
uint32_t getVersion() const override
{
return 0x1000;
return d_version(1, 0, 0);
}
/**


+ 3
- 2
plugins/States/DistrhoPluginInfo.h View File

@@ -17,8 +17,9 @@
#ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED
#define DISTRHO_PLUGIN_INFO_H_INCLUDED

#define DISTRHO_PLUGIN_NAME "States"
#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/examples/States"
#define DISTRHO_PLUGIN_BRAND "DISTRHO"
#define DISTRHO_PLUGIN_NAME "States"
#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/examples/States"

#define DISTRHO_PLUGIN_HAS_UI 1
#define DISTRHO_PLUGIN_IS_RT_SAFE 1


+ 20
- 3
plugins/States/ExamplePluginStates.cpp View File

@@ -1,6 +1,6 @@
/*
* DISTRHO Plugin Framework (DPF)
* Copyright (C) 2012-2014 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com>
*
* Permission to use, copy, modify, and/or distribute this software for any purpose with
* or without fee is hereby granted, provided that the above copyright notice and this
@@ -46,6 +46,15 @@ protected:
return "states";
}
/**
Get an extensive comment/description about the plugin.
*/
const char* getDescription() const override
{
return "Simple plugin to demonstrate state usage (including UI).\n\
The plugin will be treated as an effect, but it will not change the host audio.";
}
/**
Get the plugin author/maker.
*/
@@ -54,8 +63,17 @@ protected:
return "DISTRHO";
}
/**
Get the plugin homepage.
*/
const char* getHomePage() const override
{
return "https://github.com/DISTRHO/plugin-examples";
}
/**
Get the plugin license name (a single line of text).
For commercial plugins this should return some short copyright information.
*/
const char* getLicense() const override
{
@@ -64,11 +82,10 @@ protected:
/**
Get the plugin version, in hexadecimal.
TODO format to be defined
*/
uint32_t getVersion() const override
{
return 0x1000;
return d_version(1, 0, 0);
}
/**


Loading…
Cancel
Save