Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Plugins/DSP/dsp_sps/dxi/Parameters.h

48 lines
1.5 KiB
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
// Declarations of automated parameters used by the plug-in
////////////////////////////////////////////////////////////////////////////////
#ifndef DEFINE_PARAM_INFO
////////////////////////////////////////////////////////////////////////////////
enum
{
PARAM_ENABLE,
// TODO: Add new automated parameter IDs here
NUM_AUTOMATED_PARAMS,
// TODO: Add new internal parameter IDs here. Make sure to assign the
// first value to NUM_AUTOMATED_PARAMS, i.e.,
//
// _PARAM_INTERNAL1 = NUM_AUTOMATED_PARAMS,
// _PARAM_INTERNAL2,
// ...
NUM_PARAMS
};
////////////////////////////////////////////////////////////////////////////////
#else
////////////////////////////////////////////////////////////////////////////////
#define MP_NONE (0)
#define MP_JUMP (MP_CURVE_JUMP)
#define MP_LINES (MP_CURVE_JUMP|MP_CURVE_LINEAR)
#define MP_QUADS (MP_CURVE_JUMP|MP_CURVE_LINEAR|MP_CURVE_SQUARE|MP_CURVE_INVSQUARE)
#define MP_ALL (MP_CURVE_JUMP|MP_CURVE_LINEAR|MP_CURVE_SQUARE|MP_CURVE_INVSQUARE|MP_CURVE_SINE)
const ParamInfo CMediaParams::m_aParamInfo[ NUM_PARAMS ] =
{
// MP_TYPE MP_CAPS min max def units label int.min int.max "Enum1,Enum2,.."
// ------- ------- --- --- --- ----- ----- ------- ------- ---------------
{ MPT_BOOL, MP_QUADS, 0, 1, 1, L"", L"Enabled", 0, 1, NULL },
// TODO: Add entries for additional parameters here
};
////////////////////////////////////////////////////////////////////////////////
#endif // DEFINE_PARAM_INFO
////////////////////////////////////////////////////////////////////////////////