[vlc-devel] [PATCH 2/2] audio_filter: SOFAlizer new module (GUI)
Francois Cartegnie
fcvlcdev at free.fr
Tue Apr 14 18:14:08 CEST 2015
Le 16/02/2015 13:28, Wolfgang Hrauda a écrit :
> +Sofalizer::Sofalizer( intf_thread_t *p_intf, QWidget *parent )
> + : AudioFilterControlWidget( p_intf, parent, "sofalizer" )
> +{
> + i_smallfont = -1;
> + const FilterSliderData::slider_data_t a[6] =
> + {
> + { "sofalizer-select", qtr("Select File"), qtr(""), 1.0f, 3.0f, 1.0f, 1.0f, 1.0f },
Using qtr() without understanding
> + { "sofalizer-gain", qtr("Gain"), qtr("dB"), -20.0f, 40.0f, 0.0f, 1.0f, 1.0f },
> + { "sofalizer-switch", qtr("Switch"), qtr(""), 0.0f , 4.0f, 0.0f, 1.0f, 1.0f },
> + { "sofalizer-rotation", qtr("Rotation"), "Deg", -180.0f, 180.0f, 0.0f, 1.0f, 1.0f },
> + { "sofalizer-elevation", qtr("Elevation"), "Deg", -90, 90, 0, 1.0f, 1.0f },
> + { "sofalizer-radius", qtr("Radius"), "m", 0.1f , 2.1f, 1.0f, 0.1f, 1.0f },
> + };
> + for( int i=0; i<6 ;i++ ) controls.append( a[i] );
> + build();
> +}
> +
> + audioTab->addTab( sofalizer, qtr( "SOFAlizer" ) );
no i10n
More information about the vlc-devel
mailing list