Commit 69cdf172 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: Equalizer: namespace initial values

parent 6e9c9a93
......@@ -1364,13 +1364,7 @@ void Compressor::setValues()
/**********************************************************************
* Spatializer
**********************************************************************/
typedef struct
{
const char *psz_name;
const char *psz_desc;
} spat_controls_t;
static const spat_controls_t spat_controls[] =
const Spatializer::spat_controls_t Spatializer::spat_controls[] =
{
{ "spatializer-roomsize", _("Size") },
{ "spatializer-width", _("Width") },
......
......@@ -156,15 +156,22 @@ private slots:
class Spatializer: public QWidget
{
Q_OBJECT
public:
Spatializer( intf_thread_t *, QWidget * );
private:
typedef struct
{
const char *psz_name;
const char *psz_desc;
} spat_controls_t;
static const spat_controls_t spat_controls[NUM_SP_CTRL];
QSlider *spatCtrl[NUM_SP_CTRL];
QLabel *ctrl_texts[NUM_SP_CTRL];
QLabel *ctrl_readout[NUM_SP_CTRL];
float controlVars[5];
float oldControlVars[5];
float controlVars[NUM_SP_CTRL];
float oldControlVars[NUM_SP_CTRL];
QGroupBox *spatializerBox;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment