Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
3d14918f
Commit
3d14918f
authored
Sep 08, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: correctly display waveout options
parent
8f8948d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+9
-0
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
3d14918f
...
...
@@ -427,6 +427,13 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
optionWidgets
[
"directxW"
]
=
DirectXDevice
;
CONFIG_GENERIC_NO_UI
(
"directx-audio-device"
,
StringList
,
DirectXLabel
,
DirectXDevice
);
audioControl
(
Waveout
);
optionWidgets
[
"waveoutL"
]
=
WaveoutLabel
;
optionWidgets
[
"waveoutW"
]
=
WaveoutDevice
;
CONFIG_GENERIC_NO_UI
(
"waveout-audio-device"
,
StringList
,
WaveoutLabel
,
WaveoutDevice
);
#elif defined( __OS2__ )
audioControl
(
kai
);
optionWidgets
[
"kaiL"
]
=
kaiLabel
;
...
...
@@ -940,6 +947,8 @@ void SPrefsPanel::updateAudioOptions( int number)
#ifdef _WIN32
optionWidgets
[
"directxW"
]
->
setVisible
(
(
value
==
"directsound"
)
);
optionWidgets
[
"directxL"
]
->
setVisible
(
(
value
==
"directsound"
)
);
optionWidgets
[
"waveoutW"
]
->
setVisible
(
(
value
==
"waveout"
)
);
optionWidgets
[
"waveoutL"
]
->
setVisible
(
(
value
==
"waveout"
)
);
#elif defined( __OS2__ )
optionWidgets
[
"kaiL"
]
->
setVisible
(
(
value
==
"kai"
)
);
optionWidgets
[
"kaiW"
]
->
setVisible
(
(
value
==
"kai"
)
);
...
...
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