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
cbf64179
Commit
cbf64179
authored
Sep 28, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: use canonical name of the DirectSound module
parent
7202a56a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+2
-2
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
cbf64179
...
...
@@ -482,7 +482,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
module_exists( name ) && ( !psz_aout || !strcmp( psz_aout, name ) || !strcmp( psz_aout, "any" ) )
#if defined( _WIN32 )
if
(
get_vol_aout
(
"direct
x
"
)
)
if
(
get_vol_aout
(
"direct
sound
"
)
)
i_volume
=
config_GetFloat
(
p_intf
,
"directx-volume"
)
*
100
+
0.5
;
else
if
(
get_vol_aout
(
"waveout"
)
)
i_volume
=
config_GetFloat
(
p_intf
,
"waveout-volume"
)
*
100
+
0.5
;
...
...
@@ -1074,7 +1074,7 @@ void SPrefsPanel::apply()
//FIXME this is moot
#if defined( _WIN32 )
VLC_UNUSED
(
f_gain
);
if
(
save_vol_aout
(
"direct
x
"
)
)
if
(
save_vol_aout
(
"direct
sound
"
)
)
config_PutFloat
(
p_intf
,
"directx-volume"
,
i_volume
/
100.
f
);
if
(
save_vol_aout
(
"waveout"
)
)
config_PutFloat
(
p_intf
,
"waveout-volume"
,
i_volume
/
100.
f
);
...
...
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