Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
e9e13b75
Commit
e9e13b75
authored
Oct 20, 2011
by
KO Myung-Hun
Committed by
Rémi Denis-Courmont
Oct 31, 2011
Browse files
Add UI for KAI
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
d48571e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/components/simple_preferences.cpp
View file @
e9e13b75
...
...
@@ -290,6 +290,11 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
optionWidgets
.
append
(
DirectXControl
);
CONFIG_GENERIC_NO_UI
(
"directx-audio-device-name"
,
StringList
,
DirectXLabel
,
DirectXDevice
);
#elif defined( __OS2__ )
audioControl
(
kai
);
optionWidgets
.
append
(
kaiControl
);
CONFIG_GENERIC_NO_UI
(
"kai-audio-device"
,
StringList
,
kaiLabel
,
kaiDevice
);
#else
if
(
module_exists
(
"alsa"
)
)
{
...
...
@@ -719,6 +724,8 @@ void SPrefsPanel::updateAudioOptions( int number)
->
itemData
(
number
).
toString
();
#ifdef WIN32
optionWidgets
[
directxW
]
->
setVisible
(
(
value
==
"aout_directx"
)
);
#elif defined( __OS2__ )
optionWidgets
[
kaiW
]
->
setVisible
(
(
value
==
"kai"
)
);
#else
/* optionWidgets[ossW] can be NULL */
if
(
optionWidgets
[
ossW
]
)
...
...
modules/gui/qt4/components/simple_preferences.hpp
View file @
e9e13b75
...
...
@@ -66,6 +66,8 @@ enum {
enum
{
#ifdef WIN32
directxW
,
#elif defined( __OS2__)
kaiW
,
#else
alsaW
,
ossW
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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