51 lines
2.2 KiB
C
51 lines
2.2 KiB
C
/**
|
|
* Copyright (c) 2021 Enzien Audio, Ltd.
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without modification,
|
|
* are permitted provided that the following conditions are met:
|
|
*
|
|
* 1. Redistributions of source code must retain the above copyright notice,
|
|
* this list of conditions, and the following disclaimer.
|
|
*
|
|
* 2. Redistributions in binary form must reproduce the phrase "powered by heavy",
|
|
* the heavy logo, and a hyperlink to https://enzienaudio.com, all in a visible
|
|
* form.
|
|
*
|
|
* 2.1 If the Application is distributed in a store system (for example,
|
|
* the Apple "App Store" or "Google Play"), the phrase "powered by heavy"
|
|
* shall be included in the app description or the copyright text as well as
|
|
* the in the app itself. The heavy logo will shall be visible in the app
|
|
* itself as well.
|
|
*
|
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define DISTRHO_PLUGIN_NAME "dpf_example"
|
|
|
|
#define DISTRHO_PLUGIN_URI "lv2://wasted.audio/lv2/dpf_example"
|
|
|
|
#define DISTRHO_PLUGIN_NUM_INPUTS 2
|
|
#define DISTRHO_PLUGIN_NUM_OUTPUTS 2
|
|
#define DISTRHO_PLUGIN_IS_SYNTH 1
|
|
#define DISTRHO_PLUGIN_HAS_UI 0
|
|
#define DISTRHO_PLUGIN_IS_RT_SAFE 1
|
|
#define DISTRHO_PLUGIN_WANT_PROGRAMS 0
|
|
#define DISTRHO_PLUGIN_WANT_STATE 0
|
|
#define DISTRHO_PLUGIN_WANT_FULL_STATE 0
|
|
#define DISTRHO_PLUGIN_WANT_MIDI_INPUT 1
|
|
#define DISTRHO_PLUGIN_WANT_MIDI_OUTPUT 1
|
|
|
|
// for level monitoring
|
|
#define DISTRHO_PLUGIN_WANT_DIRECT_ACCESS 0 |