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
d39285a1
Commit
d39285a1
authored
Sep 08, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: remove SPDIF option
parent
22ccb7a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
45 deletions
+63
-45
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+0
-4
modules/gui/qt4/ui/sprefs_audio.ui
modules/gui/qt4/ui/sprefs_audio.ui
+63
-41
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
d39285a1
...
...
@@ -506,7 +506,6 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC
(
"audio-language"
,
String
,
ui
.
langLabel
,
preferredAudioLanguage
);
CONFIG_BOOL
(
"spdif"
,
spdifBox
);
CONFIG_GENERIC
(
"force-dolby-surround"
,
IntegerList
,
ui
.
dolbyLabel
,
detectionDolby
);
...
...
@@ -535,7 +534,6 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
ui
.
volumeValue
->
setButtonSymbols
(
QAbstractSpinBox
::
NoButtons
);
optionWidgets
[
"volLW"
]
=
ui
.
volumeValue
;
optionWidgets
[
"headphoneB"
]
=
ui
.
headphoneEffect
;
optionWidgets
[
"spdifChB"
]
=
ui
.
spdifBox
;
optionWidgets
[
"defaultVolume"
]
=
ui
.
defaultVolume
;
optionWidgets
[
"resetVolumeCheckbox"
]
=
ui
.
resetVolumeCheckbox
;
updateAudioOptions
(
ui
.
outputModule
->
currentIndex
()
);
...
...
@@ -959,8 +957,6 @@ void SPrefsPanel::updateAudioOptions( int number)
}
#endif
optionWidgets
[
"fileW"
]
->
setVisible
(
(
value
==
"aout_file"
)
);
optionWidgets
[
"spdifChB"
]
->
setVisible
(
(
value
==
"alsa"
||
value
==
"oss"
||
value
==
"auhal"
||
value
==
"directsound"
||
value
==
"waveout"
)
);
}
...
...
modules/gui/qt4/ui/sprefs_audio.ui
View file @
d39285a1
...
...
@@ -8,7 +8,7 @@
<x>
0
</x>
<y>
0
</y>
<width>
707
</width>
<height>
5
09
</height>
<height>
5
44
</height>
</rect>
</property>
<property
name=
"sizePolicy"
>
...
...
@@ -34,7 +34,16 @@
<item>
<widget
class=
"QWidget"
name=
"audioZone"
native=
"true"
>
<layout
class=
"QVBoxLayout"
name=
"audioZoneLayout"
>
<property
name=
"margin"
>
<property
name=
"leftMargin"
>
<number>
0
</number>
</property>
<property
name=
"topMargin"
>
<number>
0
</number>
</property>
<property
name=
"rightMargin"
>
<number>
0
</number>
</property>
<property
name=
"bottomMargin"
>
<number>
0
</number>
</property>
<item>
...
...
@@ -55,7 +64,16 @@
<property
name=
"sizeConstraint"
>
<enum>
QLayout::SetDefaultConstraint
</enum>
</property>
<property
name=
"margin"
>
<property
name=
"leftMargin"
>
<number>
0
</number>
</property>
<property
name=
"topMargin"
>
<number>
0
</number>
</property>
<property
name=
"rightMargin"
>
<number>
0
</number>
</property>
<property
name=
"bottomMargin"
>
<number>
0
</number>
</property>
<item>
...
...
@@ -145,42 +163,22 @@
<property
name=
"bottomMargin"
>
<number>
0
</number>
</property>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"outputLabel"
>
<property
name=
"minimumSize"
>
<size>
<width>
250
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Output module:
</string>
</property>
<property
name=
"buddy"
>
<cstring>
outputModule
</cstring>
</property>
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QComboBox"
name=
"outputModule"
>
<property
name=
"enabled"
>
<bool>
true
</bool>
</property>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item
row=
"1"
column=
"0"
colspan=
"2"
>
<widget
class=
"QWidget"
name=
"fileControl"
native=
"true"
>
<layout
class=
"QHBoxLayout"
>
<property
name=
"spacing"
>
<number>
0
</number>
</property>
<property
name=
"margin"
>
<property
name=
"leftMargin"
>
<number>
0
</number>
</property>
<property
name=
"topMargin"
>
<number>
0
</number>
</property>
<property
name=
"rightMargin"
>
<number>
0
</number>
</property>
<property
name=
"bottomMargin"
>
<number>
0
</number>
</property>
<item>
...
...
@@ -212,17 +210,33 @@
</layout>
</widget>
</item>
<item
row=
"3"
column=
"1"
>
<widget
class=
"QCheckBox"
name=
"spdifBox"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"outputLabel"
>
<property
name=
"minimumSize"
>
<size>
<width>
250
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Output module:
</string>
</property>
<property
name=
"buddy"
>
<cstring>
outputModule
</cstring>
</property>
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QComboBox"
name=
"outputModule"
>
<property
name=
"enabled"
>
<bool>
true
</bool>
</property>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Minimum"
vsizetype=
"Fixed"
>
<sizepolicy
hsizetype=
"Minimum
Expanding
"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"text"
>
<string>
Use S/PDIF when available
</string>
</property>
</widget>
</item>
</layout>
...
...
@@ -451,7 +465,16 @@
<bool>
true
</bool>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout_1"
>
<property
name=
"margin"
>
<property
name=
"leftMargin"
>
<number>
0
</number>
</property>
<property
name=
"topMargin"
>
<number>
0
</number>
</property>
<property
name=
"rightMargin"
>
<number>
0
</number>
</property>
<property
name=
"bottomMargin"
>
<number>
0
</number>
</property>
<item
row=
"0"
column=
"1"
>
...
...
@@ -541,7 +564,6 @@
<tabstop>
outputModule
</tabstop>
<tabstop>
fileName
</tabstop>
<tabstop>
fileBrowseButton
</tabstop>
<tabstop>
spdifBox
</tabstop>
<tabstop>
autoscaleBox
</tabstop>
<tabstop>
volNormBox
</tabstop>
<tabstop>
volNormSpin
</tabstop>
...
...
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