Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
6e9c9a93
Commit
6e9c9a93
authored
Dec 31, 2012
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: Compressor: namespace initial values
parent
aab5ebf3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
12 deletions
+13
-12
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+1
-12
modules/gui/qt4/components/extended_panels.hpp
modules/gui/qt4/components/extended_panels.hpp
+12
-0
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
6e9c9a93
...
...
@@ -1230,18 +1230,7 @@ void Equalizer::addCallbacks( vlc_object_t *p_aout )
* Dynamic range compressor
**********************************************************************/
typedef
struct
{
const
char
*
psz_name
;
const
char
*
psz_descs
;
const
char
*
psz_units
;
const
float
f_min
;
// min
const
float
f_max
;
// max
const
float
f_value
;
// value
const
float
f_resolution
;
// resolution
}
comp_controls_t
;
static
const
comp_controls_t
comp_controls
[]
=
const
Compressor
::
comp_controls_t
Compressor
::
comp_controls
[]
=
{
{
"compressor-rms-peak"
,
_
(
"RMS/peak"
),
""
,
0.0
f
,
1.0
f
,
0.00
f
,
0.001
f
},
{
"compressor-attack"
,
_
(
"Attack"
),
_
(
" ms"
),
1.5
f
,
400.0
f
,
25.00
f
,
0.100
f
},
...
...
modules/gui/qt4/components/extended_panels.hpp
View file @
6e9c9a93
...
...
@@ -117,10 +117,22 @@ private slots:
class
Compressor
:
public
QWidget
{
Q_OBJECT
public:
Compressor
(
intf_thread_t
*
,
QWidget
*
);
private:
typedef
struct
{
const
char
*
psz_name
;
const
char
*
psz_descs
;
const
char
*
psz_units
;
const
float
f_min
;
// min
const
float
f_max
;
// max
const
float
f_value
;
// value
const
float
f_resolution
;
// resolution
}
comp_controls_t
;
static
const
comp_controls_t
comp_controls
[
NUM_CP_CTRL
];
QSlider
*
compCtrl
[
NUM_CP_CTRL
];
QLabel
*
ctrl_texts
[
NUM_CP_CTRL
];
QLabel
*
ctrl_readout
[
NUM_CP_CTRL
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment