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
22fda391
Commit
22fda391
authored
Nov 20, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevice: fix volume scale (fixes #12825)
parent
a8d46dc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/audio_output/mmdevice.c
modules/audio_output/mmdevice.c
+1
-1
No files found.
modules/audio_output/mmdevice.c
View file @
22fda391
...
@@ -975,7 +975,7 @@ static HRESULT MMSession(audio_output_t *aout, IMMDeviceEnumerator *it)
...
@@ -975,7 +975,7 @@ static HRESULT MMSession(audio_output_t *aout, IMMDeviceEnumerator *it)
{
{
msg_Dbg
(
aout
,
"volume from %+f dB to %+f dB with %f dB increments"
,
msg_Dbg
(
aout
,
"volume from %+f dB to %+f dB with %f dB increments"
,
min
,
max
,
inc
);
min
,
max
,
inc
);
base_volume
=
powf
(
10
.
f
,
max
/
20
.
f
+
.
3
f
);
base_volume
=
powf
(
10
.
f
,
max
/
20
.
f
);
}
}
else
else
msg_Err
(
aout
,
"cannot get volume range (error 0x%lx)"
,
hr
);
msg_Err
(
aout
,
"cannot get volume range (error 0x%lx)"
,
hr
);
...
...
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