zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

DistrhoPluginInfo.h (1898B)


      1 /*
      2   ZynAddSubFX - a software synthesizer
      3 
      4   DistrhoPluginInfo.h - DPF information header
      5   Copyright (C) 2015-2016 Filipe Coelho
      6   Author: Filipe Coelho
      7 
      8   This program is free software; you can redistribute it and/or
      9   modify it under the terms of the GNU General Public License
     10   as published by the Free Software Foundation; either version 2
     11   of the License, or (at your option) any later version.
     12 */
     13 
     14 #ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED
     15 #define DISTRHO_PLUGIN_INFO_H_INCLUDED
     16 
     17 #define DISTRHO_PLUGIN_BRAND "ZynAddSubFX"
     18 #define DISTRHO_PLUGIN_NAME  "ZynAddSubFX"
     19 #define DISTRHO_PLUGIN_URI   "http://zynaddsubfx.sourceforge.net"
     20 
     21 #if defined(NTK_GUI)
     22  #define DISTRHO_PLUGIN_HAS_UI          1
     23  #define DISTRHO_PLUGIN_HAS_EMBED_UI    1
     24  #define DISTRHO_PLUGIN_HAS_EXTERNAL_UI 1
     25 #elif defined(FLTK_GUI)
     26  #define DISTRHO_PLUGIN_HAS_UI          1
     27  #define DISTRHO_PLUGIN_HAS_EMBED_UI    0
     28  #define DISTRHO_PLUGIN_HAS_EXTERNAL_UI 1
     29 #elif defined(ZEST_GUI)
     30  #define DGL_OPENGL                     1
     31  #define HAVE_OPENGL                    1
     32  #define DISTRHO_PLUGIN_HAS_UI          1
     33  #define DISTRHO_PLUGIN_HAS_EMBED_UI    1
     34 #else
     35  #define DISTRHO_PLUGIN_HAS_UI          0
     36 #endif
     37 
     38 #define DISTRHO_PLUGIN_IS_RT_SAFE       1
     39 #define DISTRHO_PLUGIN_IS_SYNTH         1
     40 #define DISTRHO_PLUGIN_NUM_INPUTS       0
     41 #define DISTRHO_PLUGIN_NUM_OUTPUTS      2
     42 #define DISTRHO_PLUGIN_WANT_PROGRAMS    1
     43 #define DISTRHO_PLUGIN_WANT_STATE       1
     44 #define DISTRHO_PLUGIN_WANT_FULL_STATE  1
     45 #define DISTRHO_PLUGIN_WANT_TIMEPOS     1
     46 
     47 enum Parameters {
     48     kParamSlot1,
     49     kParamSlot2,
     50     kParamSlot3,
     51     kParamSlot4,
     52     kParamSlot5,
     53     kParamSlot6,
     54     kParamSlot7,
     55     kParamSlot8,
     56     kParamSlot9,
     57     kParamSlot10,
     58     kParamSlot11,
     59     kParamSlot12,
     60     kParamSlot13,
     61     kParamSlot14,
     62     kParamSlot15,
     63     kParamSlot16,
     64     kParamOscPort,
     65     kParamCount
     66 };
     67 
     68 #endif // DISTRHO_PLUGIN_INFO_H_INCLUDED