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
e9e13b75
Commit
e9e13b75
authored
Oct 20, 2011
by
KO Myung-Hun
Committed by
Rémi Denis-Courmont
Oct 31, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+7
-0
modules/gui/qt4/components/simple_preferences.hpp
modules/gui/qt4/components/simple_preferences.hpp
+2
-0
No files found.
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
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