Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
ef74dd1d
Commit
ef74dd1d
authored
Feb 01, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: sprefs, chipmunk options and audio rework
parent
592c1efc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
78 additions
and
113 deletions
+78
-113
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+1
-0
modules/gui/qt4/ui/sprefs_audio.ui
modules/gui/qt4/ui/sprefs_audio.ui
+77
-113
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
ef74dd1d
...
@@ -314,6 +314,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
...
@@ -314,6 +314,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
replayCombo
);
replayCombo
);
CONFIG_GENERIC
(
"audio-visual"
,
Module
,
ui
.
visuLabel
,
CONFIG_GENERIC
(
"audio-visual"
,
Module
,
ui
.
visuLabel
,
visualisation
);
visualisation
);
CONFIG_GENERIC
(
"audio-time-stretch"
,
Bool
,
NULL
,
autoscaleBox
);
/* Audio Output Specifics */
/* Audio Output Specifics */
CONFIG_GENERIC
(
"aout"
,
Module
,
ui
.
outputLabel
,
outputModule
);
CONFIG_GENERIC
(
"aout"
,
Module
,
ui
.
outputLabel
,
outputModule
);
...
...
modules/gui/qt4/ui/sprefs_audio.ui
View file @
ef74dd1d
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
<rect>
<rect>
<x>
0
</x>
<x>
0
</x>
<y>
0
</y>
<y>
0
</y>
<width>
6
43
</width>
<width>
6
61
</width>
<height>
6
19
</height>
<height>
6
70
</height>
</rect>
</rect>
</property>
</property>
<property
name=
"sizePolicy"
>
<property
name=
"sizePolicy"
>
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<property
name=
"windowTitle"
>
<property
name=
"windowTitle"
>
<string>
Form
</string>
<string>
Form
</string>
</property>
</property>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout"
>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout
_2
"
>
<item>
<item>
<widget
class=
"QCheckBox"
name=
"enableAudio"
>
<widget
class=
"QCheckBox"
name=
"enableAudio"
>
<property
name=
"text"
>
<property
name=
"text"
>
...
@@ -33,16 +33,7 @@
...
@@ -33,16 +33,7 @@
</item>
</item>
<item>
<item>
<widget
class=
"QWidget"
name=
"SPrefsAudio_zone"
native=
"true"
>
<widget
class=
"QWidget"
name=
"SPrefsAudio_zone"
native=
"true"
>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_2"
>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout"
>
<property
name=
"leftMargin"
>
<number>
9
</number>
</property>
<property
name=
"topMargin"
>
<number>
0
</number>
</property>
<property
name=
"bottomMargin"
>
<number>
0
</number>
</property>
<item>
<item>
<widget
class=
"QGroupBox"
name=
"audioBox"
>
<widget
class=
"QGroupBox"
name=
"audioBox"
>
<property
name=
"title"
>
<property
name=
"title"
>
...
@@ -256,38 +247,41 @@
...
@@ -256,38 +247,41 @@
</sizepolicy>
</sizepolicy>
</property>
</property>
<property
name=
"title"
>
<property
name=
"title"
>
<string>
Spatialization
</string>
<string>
Effects
</string>
</property>
</property>
<property
name=
"checkable"
>
<property
name=
"checkable"
>
<bool>
false
</bool>
<bool>
false
</bool>
</property>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout_2"
>
<layout
class=
"QGridLayout"
name=
"gridLayout_2"
>
<property
name=
"leftMargin"
>
<item
row=
"0"
column=
"0"
>
<number>
9
</number>
<widget
class=
"QLabel"
name=
"dolbyLabel"
>
</property>
<property
name=
"rightMargin"
>
<number>
9
</number>
</property>
<property
name=
"bottomMargin"
>
<number>
0
</number>
</property>
<property
name=
"horizontalSpacing"
>
<number>
6
</number>
</property>
<item
row=
"2"
column=
"0"
colspan=
"2"
>
<widget
class=
"QCheckBox"
name=
"headphoneEffect"
>
<property
name=
"sizePolicy"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"
Fix
ed"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"
Preferr
ed"
>
<horstretch>
0
</horstretch>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</sizepolicy>
</property>
</property>
<property
name=
"minimumSize"
>
<size>
<width>
250
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"maximumSize"
>
<size>
<width>
250
</width>
<height>
16777215
</height>
</size>
</property>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
Headphone surround effect
</string>
<string>
Dolby Surround:
</string>
</property>
<property
name=
"buddy"
>
<cstring>
detectionDolby
</cstring>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"
1
"
column=
"1"
>
<item
row=
"
0
"
column=
"1"
>
<widget
class=
"QComboBox"
name=
"detectionDolby"
>
<widget
class=
"QComboBox"
name=
"detectionDolby"
>
<property
name=
"sizePolicy"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Fixed"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Fixed"
>
...
@@ -300,10 +294,10 @@
...
@@ -300,10 +294,10 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"
1
"
column=
"0"
>
<item
row=
"
2
"
column=
"0"
>
<widget
class=
"Q
Label"
name=
"dolbyLabel
"
>
<widget
class=
"Q
CheckBox"
name=
"volNormBox
"
>
<property
name=
"sizePolicy"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"
Preferr
ed"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"
Fix
ed"
>
<horstretch>
0
</horstretch>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</sizepolicy>
...
@@ -321,50 +315,32 @@
...
@@ -321,50 +315,32 @@
</size>
</size>
</property>
</property>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
Dolby Surround:
</string>
<string>
Normalize volume to:
</string>
</property>
<property
name=
"buddy"
>
<cstring>
detectionDolby
</cstring>
</property>
</property>
</widget>
</widget>
</item>
</item>
</layout>
<item
row=
"2"
column=
"1"
>
</widget>
<widget
class=
"QDoubleSpinBox"
name=
"volNormSpin"
>
</item>
<property
name=
"enabled"
>
<item>
<bool>
true
</bool>
<widget
class=
"QGroupBox"
name=
"groupBox"
>
<property
name=
"title"
>
<string>
Processing
</string>
</property>
<layout
class=
"QGridLayout"
>
<property
name=
"bottomMargin"
>
<number>
0
</number>
</property>
</property>
<item
row=
"4"
column=
"1"
colspan=
"2"
>
<property
name=
"alignment"
>
<widget
class=
"QComboBox"
name=
"visualisation"
>
<set>
Qt::AlignRight
</set>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"4"
column=
"0"
>
<item
row=
"2"
column=
"2"
>
<widget
class=
"QLabel"
name=
"visuLabel"
>
<spacer
name=
"horizontalSpacer"
>
<property
name=
"minimumSize"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<size>
<width>
2
50
</width>
<width>
2
68
</width>
<height>
0
</height>
<height>
2
0
</height>
</size>
</size>
</property>
</property>
<property
name=
"text"
>
</spacer>
<string>
Visualization:
</string>
</property>
<property
name=
"buddy"
>
<cstring>
visualisation
</cstring>
</property>
</widget>
</item>
</item>
<item
row=
"3"
column=
"0"
>
<item
row=
"3"
column=
"0"
>
<widget
class=
"QLabel"
name=
"replayLabel"
>
<widget
class=
"QLabel"
name=
"replayLabel"
>
...
@@ -392,60 +368,49 @@
...
@@ -392,60 +368,49 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"2"
column=
"1"
colspan=
"2"
>
<item
row=
"4"
column=
"0"
>
<widget
class=
"QWidget"
name=
"widget"
native=
"true"
>
<widget
class=
"QLabel"
name=
"visuLabel"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_2"
>
<property
name=
"minimumSize"
>
<property
name=
"margin"
>
<size>
<number>
0
</number>
<width>
250
</width>
<height>
0
</height>
</size>
</property>
</property>
<item>
<property
name=
"text"
>
<widget
class=
"QDoubleSpinBox"
name=
"volNormSpin"
>
<string>
Visualization:
</string>
<property
name=
"enabled"
>
<bool>
true
</bool>
</property>
</property>
<property
name=
"alignment
"
>
<property
name=
"buddy
"
>
<set>
Qt::AlignRight
</set
>
<cstring>
visualisation
</cstring
>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item>
<item
row=
"4"
column=
"1"
colspan=
"2"
>
<spacer
name=
"horizontalSpacer"
>
<widget
class=
"QComboBox"
name=
"visualisation"
>
<property
name=
"orientation"
>
<property
name=
"sizePolicy"
>
<enum>
Qt::Horizontal
</enum>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Fixed"
>
</property>
<horstretch>
0
</horstretch>
<property
name=
"sizeHint"
stdset=
"0"
>
<verstretch>
0
</verstretch>
<size>
</sizepolicy>
<width>
40
</width>
<height>
20
</height>
</size>
</property>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
</item>
<item
row=
"
2
"
column=
"0"
>
<item
row=
"
5
"
column=
"0"
>
<widget
class=
"QCheckBox"
name=
"
volNormBox
"
>
<widget
class=
"QCheckBox"
name=
"
headphoneEffect
"
>
<property
name=
"sizePolicy"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Fixed"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</sizepolicy>
</property>
</property>
<property
name=
"minimumSize"
>
<property
name=
"text"
>
<size>
<string>
Headphone surround effect
</string>
<width>
250
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"maximumSize"
>
<size>
<width>
250
</width>
<height>
16777215
</height>
</size>
</property>
</property>
</widget>
</item>
<item
row=
"6"
column=
"0"
colspan=
"2"
>
<widget
class=
"QCheckBox"
name=
"autoscaleBox"
>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
Normalize volume to:
</string>
<string>
Enable Time-Stretching audio
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
...
@@ -573,7 +538,6 @@
...
@@ -573,7 +538,6 @@
<tabstop>
outputModule
</tabstop>
<tabstop>
outputModule
</tabstop>
<tabstop>
fileName
</tabstop>
<tabstop>
fileName
</tabstop>
<tabstop>
fileBrowseButton
</tabstop>
<tabstop>
fileBrowseButton
</tabstop>
<tabstop>
visualisation
</tabstop>
</tabstops>
</tabstops>
<resources/>
<resources/>
<connections/>
<connections/>
...
...
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