Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
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
Show 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,
...
@@ -290,6 +290,11 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
optionWidgets
.
append
(
DirectXControl
);
optionWidgets
.
append
(
DirectXControl
);
CONFIG_GENERIC_NO_UI
(
"directx-audio-device-name"
,
StringList
,
CONFIG_GENERIC_NO_UI
(
"directx-audio-device-name"
,
StringList
,
DirectXLabel
,
DirectXDevice
);
DirectXLabel
,
DirectXDevice
);
#elif defined( __OS2__ )
audioControl
(
kai
);
optionWidgets
.
append
(
kaiControl
);
CONFIG_GENERIC_NO_UI
(
"kai-audio-device"
,
StringList
,
kaiLabel
,
kaiDevice
);
#else
#else
if
(
module_exists
(
"alsa"
)
)
if
(
module_exists
(
"alsa"
)
)
{
{
...
@@ -719,6 +724,8 @@ void SPrefsPanel::updateAudioOptions( int number)
...
@@ -719,6 +724,8 @@ void SPrefsPanel::updateAudioOptions( int number)
->
itemData
(
number
).
toString
();
->
itemData
(
number
).
toString
();
#ifdef WIN32
#ifdef WIN32
optionWidgets
[
directxW
]
->
setVisible
(
(
value
==
"aout_directx"
)
);
optionWidgets
[
directxW
]
->
setVisible
(
(
value
==
"aout_directx"
)
);
#elif defined( __OS2__ )
optionWidgets
[
kaiW
]
->
setVisible
(
(
value
==
"kai"
)
);
#else
#else
/* optionWidgets[ossW] can be NULL */
/* optionWidgets[ossW] can be NULL */
if
(
optionWidgets
[
ossW
]
)
if
(
optionWidgets
[
ossW
]
)
...
...
modules/gui/qt4/components/simple_preferences.hpp
View file @
e9e13b75
...
@@ -66,6 +66,8 @@ enum {
...
@@ -66,6 +66,8 @@ enum {
enum
{
enum
{
#ifdef WIN32
#ifdef WIN32
directxW
,
directxW
,
#elif defined( __OS2__)
kaiW
,
#else
#else
alsaW
,
alsaW
,
ossW
,
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